Capture Payment
If a payment has been created with authOnly=true, capture it using this endpoint.
Authentication
Authorizationstring
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
OR
Authorizationstring
API Key authentication via header
Request
This endpoint expects an object.
paymentId
The ID of the payment that was created.
subtotal
rent
(Solana only) if your transaction requires a known amount of Rent to be paid, you can pass it here.
transactionData
(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
jobId

