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.
Retrieves all refunds linked to a specific Ozow transaction.
Authentication
Bearer token
The token generated by the Get API token operation. The same token is used for every request until it expires.
Query parameters
transactionIdstringrequired
Ozow's identifier for original payment transaction. This is passed back to the merchant in the payment redirectRedirectSending the payer to the Ozow payment page to complete the payment, and returning them to your site afterwards. The alternative is embedding the checkout in your own page, where the payer never leaves it. and notification response’s TransactionId field.
Responses
200OK
application/json
array of Refund
application/xml
array of Refund
400Bad Request. The operation could not be carried out. The body is a message rather than a structured error.
string
example 1
There was an error processing your request
401Unauthorized. The `ApiKey` header is missing or does not match the site, or for a `Secure` operation the bearer token is missing, expired or invalid.