Skip to content
Guides
API reference
stablepayment:create

Capture payment

POST/v1/payments/{paymentTransactionId}/capture

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Path Parameters

paymentTransactionId*string

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/string/capture" \  -H "Content-Type: application/json" \  -d '{    "amount": 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}