Capture Payment

If a payment has been created with authOnly=true, capture it using this endpoint.

Authentication

OR
Authorizationstring
API Key authentication via header

Request

This endpoint expects an object.
paymentIdstringRequired
The ID of the payment that was created.
subtotalobjectRequired
rentobjectOptional

(Solana only) if your transaction requires a known amount of Rent to be paid, you can pass it here.

transactionDataobjectOptional

(EVM only) if you want to execute an EVM transaction on a successful purchase, you can pass a transaction request here.

Gas fees for the transaction will be automatically calculated and added to the total charged to the customer. Optionally the merchant can opt to pay for these gas fees.

Response

Ok
jobIddouble or string