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.
Authentication
Authorizationstring
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Path parameters
paymentId
- ID of the payment to refund
Request
This endpoint expects an object.
refundReason
Allowed values:
partialAmount
Response
Ok
OR

