Direct Integration
Order management APIs
Capture API

POST /v1/direct/order/capture-request

Headers

api-key: Server API key provided via secure email or the merchant dashboard

JSON Schema

JSON
{
   "orderID":{
      "type":"string",
      "description":"This orderID is the one generated by your integration. If you are using an integration like Salesforce this will be the ID of the order created in Salesforce.",
      "required":true
   }
}

Response Codes

CodeDescription
201Request created
400Headers or request body were not provided correctly
401API Key not valid
403API Key cannot access this resource
422The order is in a state where capture cannot be requested, e.g., refunded
500Internal server error