Capture Order
This endpoint is for fully or partially capture an authorised order. (deferred payment request.)
Resource URL
For live environment, please update the endpoint to https://api.optty.com
Path Parameters
ORDER-ID*
string
The ORDER-ID provided in the original createOrder request is called 'orderReference' in createOrder.
Headers
Content-Type
application/json
Authorization
Bearer {GENERATED_ACCESS_TOKEN}
Parameters
Request Parameters
captureReference
string
The order capture reference, it needs to be unique per capture order request.
Yes
description
string
The description or reason for the capturing.
No
amount
numeric
amount to be captured
Yes
Response Parameters
captureReference
string
The reference passed for the capturing request
captureId
string
The reference submitted upon requesting for capture.
capturedAmount
numeric
The amount processed for the capturing operation
Sample Request/Response
Last updated