Crypto Refunds
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:
- The original payment must be settled
- You must have the
paymentId - You must provide a valid destination wallet address
Step 1: Initiate a Refund
Send a PUT request to the refund endpoint with the desired refund details.
Request
Parameters
Response
This indicates the refund has been initiated and is being processed.
Step 2: Retrieve Payment Refund Details
To confirm the refund and retrieve on-chain details, fetch the payment by ID.
Request
Step 3: Inspect Refund Data
Within the response, reference the following fields:
Full Example Response
Step 4: Share Refund Receipt
Provide the cryptoInfo.refundTransactionHash to your customer.
- This is the on-chain transaction hash
- It can be used to verify the refund on a blockchain explorer
- Acts as a proof of refund
Notes & Best Practices
- Refunds are irreversible once submitted on-chain
- Always validate the
destinationWalletbefore initiating - Use partial refunds (
partialAmount) when issuing refunds for a portion of the original payment - Monitor
cryptoInfo.statusto confirm refund completion (REFUNDED)

