Ozow Hub
POSThttps://one.ozow.com/v1/refundsProduction
Build with AI 2 packages

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.

  • Refund a paymentEverything needed to refund a completed payment through One API, in full or in part, and to handle the statuses a refund moves through.
    View package
  • 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.
    View package

Request refunds for the specified transactions.

Authentication

  • OAuth 2.0
    scopesrefunds

Header parameters

  • Idempotency-Key string

    The unique key idempotency keyIdempotency A request is idempotent when sending it twice has the same effect as sending it once. It matters most where a retry after a timeout could otherwise take a payment twice.IETF draft as per the following IETF Draft

  • X-Correlation-ID string

    Optional correlation id for the request, if not supplied a new one will be generated and passed onto all underlying requests and returned as a header.

Request body

array of RefundRequest

Responses

200 OK. The refund has been accepted.
  • X-Correlation-ID header

    The correlation id for the request that was processed.

array of Refund

Guides