Get refunds
GET /secure/refunds/getrefunds
Try it
Parameters
Request sample
curl -X GET 'https://api.ozow.com/secure/refunds/getrefunds?refundDate=string&status=string' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'Response example
Built from the response schema. Values are placeholders, not real data.
GET
https://api.ozow.com/secure/refunds/getrefundsProductionBuild with AI 1 package
A build package is every page for one task, with the API operations they use. Copy the prompt into a coding assistant, or hand it the package itself: slim links to each page, full inlines all of them in one document.
- Migrate refunds from the Payments API to One APIEverything needed to move an existing refunds integration onto One API, with the legacy guide and its One API counterpart side by side.
List refunds by date and status.
Authentication
- Bearer token
The token generated by the
Get API tokenoperation. The same token is used for every request until it expires.
Query parameters
refundDatestring requiredThe date of the refunds you would like to be returned.
statusstring requiredThe status of the refunds you would like to be returned.
Responses
200 OK
application/json
array of Refund
application/xml
array of Refund
400 Bad Request. The operation could not be carried out. The body is a message rather than a structured error.
string
There was an error processing your request401 Unauthorized. The `ApiKey` header is missing or does not match the site, or for a `Secure` operation the bearer token is missing, expired or invalid.
string
API key is missing or invalid.