Once a crypto payment has successfully settled, you can programmatically issue a refund to your customer’s wallet. Refunds are processed on-chain, and you’ll receive a transaction hash that can be shared with the end user as proof of refund.
Before issuing a refund:
paymentIdSend a PUT request to the refund endpoint with the desired refund details.
This indicates the refund has been initiated and is being processed.
To confirm the refund and retrieve on-chain details, fetch the payment by ID.
Within the response, reference the following fields:
Provide the cryptoInfo.refundTransactionHash to your customer.
destinationWallet before initiatingpartialAmount) when issuing refunds for a portion of the original paymentcryptoInfo.status to confirm refund completion (REFUNDED)