API reference
Start payment
POST
/v1/payments/startAuthorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/payments/start" \ -H "Content-Type: application/json" \ -d '{ "orderId": "string", "orderGroup": null, "paymentMethodCode": "string", "amount": 0.1, "currency": "string", "externalRef": null, "payerEmail": null }'{ "transactionId": "string", "status": "pending", "isCaptured": true, "paymentMethodCode": "string", "code": "string", "cardType": null, "amount": 0.1, "reference": "string", "providerId": null, "publicConfiguration": { "property1": "string", "property2": "string" }, "clientSecret": null, "checkoutUrl": null, "checkoutHtml": null, "qrCode": null, "receiptUrl": null, "expiresAt": null}