Ozow Hub
GEThttps://api.ozow.com/GetTransactionByReferenceProduction
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.

  • Embed checkout in your own pageEverything needed to keep the customer on your site while they pay, as an iframe, a modal, or the Wallet SDK for Apple Pay and Google Pay, with the notification that actually confirms the payment.
    View package
  • Migrate a payin from the Payments API to One APIEverything needed to move an existing redirect payin onto One API, with the legacy guide and its One API counterpart side by side.
    View package

This operation is used when you want to query transactions using the merchant's transaction reference, specified when creating the payment request. This method is able to return multiple results. Ozow does not restrict the merchant from sending duplicate merchant references, though it is advised that a unique reference is sent per transaction. The number of results returned are limited to 10. Note that the site codeSite code The unique code for a site registered under a merchant. A site is a place to transact: a website, or a branch of a store. A merchant can have several, and each transaction names the one it belongs to, so sending the wrong code files the payment against the wrong place. must be the same as the one used when the associated payment request was created.

Authentication

Query parameters

  • siteCode string required

    A unique code for the each of the merchant's sites. A site codeSite code The unique code for a site registered under a merchant. A site is a place to transact: a website, or a branch of a store. A merchant can have several, and each transaction names the one it belongs to, so sending the wrong code files the payment against the wrong place. is generated when adding a site in the Ozow merchant admin section.

    max length50
    exampleTST-MER-001
  • transactionReference string required

    The merchant's reference for the transaction.

    max length50
    exampleMyReference
  • isTest boolean

    Defaults to false. Use true only to get results for test requests.

    examplefalse

Request body

This method is called when you want to query transactions using the merchant's reference. This method is able to return multiple results. Ozow does not restrict the merchant from sending duplicate merchant references, though it is advised that a unique reference is sent per transaction. The number of results returned are limited to 10.

Responses

200 Array of TransactionModel

application/json

array of TransactionModel

application/xml

array of TransactionModel

Guides