Skip to main content
POST
/
payment
/
intents
/
{paymentIntentId}
/
capture
Capture an authorised payment
curl --request POST \
  --url https://api.orqex.com/v1/payment/intents/{paymentIntentId}/capture \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 2
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Project secret key, e.g. sk_live_..., sent as Authorization: Bearer sk_....

Headers

X-Idempotency-Key
string

Safely retry a write without duplicating it. 8-128 chars.

Required string length: 8 - 128

Path Parameters

paymentIntentId
string
required

Public payment intent id, e.g. TRX....

Body

application/json
amount
integer

Amount to capture in minor units.

Required range: x >= 1

Response

501 - application/json

Not implemented

message
string