merchant
Refund Payment
Changed onRefunds 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
Request
- Base URLhttps://api-sandbox.coinflow.cash/api
- URLhttps://api-sandbox.coinflow.cash/api/merchant/payments/{paymentId}/refund
- AuthAPI key in header Authorization
Path parameters
paymentIdstring required
- ID of the payment to refund
Request body
Response
Ok
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
merchantwas added to the API - info
added the new optional request property
- warning
- info
api operation id
refund-paymentremoved and replaced withmerchant_RefundPayment
- info