API Documentation
Create Refund
2min
This API creates a refund order to enable merchants to refund a successfully processed transaction. It accepts amount and the order details.
This api requires access token that can be generated using Access Token API.
Create an order with payout details from application's backend
POST
Request
Header Parameters
signature
String
required
Signature generated with sha256 followed by base64 encoding. Check below section for more details
access-token
String
required
Access token received from Access token API. You can reuse the access token across multiple API calls till it is expired
Body Parameters
requestId
String
required
The requestId used to create the parent order.
fiatAmount
String
required
Amount user can be refunded in string format. This amount should be less than or equal to the parent order amount. Maximum two decimal places are allowed
clientId
String
required
Client id. Application's identifier
The request for creating payout order requires a header signature. This can be generated using following javascript code snippet.