v3
OpenAPI 3.1.02026-08-06186981679.4 KBmerchant
Refund Payment
Refunds a payment. First will check if the users wallet has credits to refund the payment. If so, will take the credits from the users wallet and refund the payment. Otherwise, will transfer USDC from the merchants wallet to Coinflow's wallet and refund the payment.The amount of USDC transferred will the total amount of the payment + credit card fees + gas fees.
put/merchant/payments/{paymentId}/refund
Path parameters
paymentIdstring required
- ID of the payment to refund
Headers
Authorizationstring required
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Request body
Response
Ok