Ozow Hub
POSThttps://one.ozow.com/v1/subscriptions/{subscriptionId}/transactionsProduction
Build 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.

  • Take a recurring paymentEverything needed to collect from a customer on a schedule with One API, from the consent the customer gives once through to each collection and the webhook that reports it.
    View package

Trigger an ad-hoc (manual) charge against an authorised subscription, in addition to its scheduled charges.

Authentication

  • OAuth 2.0
    scopessubscriptions

Path parameters

  • subscriptionId string required

    The unique identifier of the subscription.

    example497f6eca-6276-4993-bfeb-53cbbbba6f08

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

  • amount Amount required

    The amount to charge. Must be ZAR and within the subscription's authorised band.

    Fields of Amount
    • currency string required

      The ISO 4217ISO 4217 The three-letter currency codes, such as ZAR for the South African rand. Always uppercase.Wikipedia current code.

      min length3max length3
    • value number float required

      The amount in the currency specified.

      min0.01
    Open Amount on its own page
  • merchantReference string required

    Your unique reference for this charge.

    max length50

Responses

201 Created. The ad-hoc charge was accepted.
  • X-Correlation-ID header

    The correlation id for the request that was processed.

  • transactionId string required

    The unique identifier of the charge.

  • subscriptionId string required

    The subscription the charge belongs to.

  • The status of an individual subscription charge.

    values"Pending""Successful""Failed"
  • amount Amount required

    The charged amount.

    Fields of Amount
    • currency string required

      The ISO 4217ISO 4217 The three-letter currency codes, such as ZAR for the South African rand. Always uppercase.Wikipedia current code.

      min length3max length3
    • value number float required

      The amount in the currency specified.

      min0.01
    Open Amount on its own page
  • merchantReference string required

    Your reference for this charge.

Guides