Refund API
This API is used to initiate refund process on a successful transaction.
Authorization Any request made without the authorization key (secret key) will fail with a 401
(Unauthorized)
response code.
The authorization key is sent via the request header as Bearer Token Authorization
Example: Authorization: Bearer sandbox_sk_94f2b798466408ef4d19e848ee1a4d1a3e93f104046f
This endpoint refunds an already completed transactions
POST
https://sandbox-api-d.squadco.com/transaction/refund
Request Body
Sample Request
Full Refund
Partial Refund
GO LIVE - Production
To Use this API on production:
Kindly change the base URL of the endpoint from sandbox-api-d.squadco.com to api-d.squadco.com
Get production keys from your production environment on dashboard.squadco.com and replace as authorization keys.
Last updated