Capture Payment.

Captures an authorization payment. This payment record can be voided or refunded. Requires secret key.

⚠️ For Basic Authentication, use SECRET API KEY. Learn more →

Path Params
uuid
required

ID of the authorization payment record to capture.

Body Params
totalAmount
object
required

Contains the value and currency of the transaction.

string
required
length between 1 and 36

The merchant's reference number supplied in the create payment request. It is strongly advised that the merchant provide unique value for this property for each transaction.

boolean

Indicates if the capture is final. Always set to true to keep the final partial capture behavior.

Headers
string

Contains signature information that is used to validate the integrity of the request. Only required if your integration is configured with Maya-Signature.

Responses

Language
Credentials
Basic
base64
:
URL
Response
Choose an example:
application/json