v1
latestOpenAPI 3.1.02026-07-24260142.2 KBRefund
Sandbox (Testing): https://global-api.sand.au.edge.zip.co/merchant/refunds
Once a charge has been captured, if a customer wishes to return an item you will need to create a refund.
post/refunds
Headers
Authorizationstring required
Bearer {{API key}}
Idempotency-Keystring required
[RandomString]
Zip-Versionstring date required
2021-08-25
Request body
Response
200
Example response
{
"amount": 100,
"charge_id": "us-eaa26ff3-eba9-4598-a493-86c263b5a239",
"created": "2022-02-28T16:58:31.82Z",
"id": "us-18ff0020-468e-49e4-9382-e5c4887ec2a9",
"reason": "Unwanted item"
}