Ozow Hub
POSThttps://one.ozow.com/v1/tokenProduction
Build with AI 6 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.

Filter
  • Take a paymentEverything needed to take a payment end to end with One API, from credentials through the hosted page to the webhook that confirms it, and the test cases that prove each outcome before you go live.
    View package
  • 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
  • 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

Retrieve an authentication token as per the OpenAuth 2.0 Client Credential Flow.

Authentication

This operation takes no credentials.

Header parameters

  • 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

  • client_id string required

    The unique client id provided to the merchant during credential exchange.

  • client_secret string required

    The secret provided to the merchant during credential exchange.

  • scope string required

    The scope of permissions required. Can be just one or a list of space-delimited, case-sensitive strings.

  • grant_type string required

    Must be client_credentials.

Responses

200 Succesfull response as per [RFC 6749](https://datatracker.ietf.org/doc/html/rfc6749#section-5.1)
  • X-Correlation-ID header

    The correlation id for the request that was processed.

  • access_token string required

    The access token issued by the authorization server.

  • token_type string required

    Must be bearer as in RFC 6750.

  • expires_in string required

    The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will expire in one hour from the time the response was generated.

  • scope string

    OPTIONAL, if identical to the scope requested by the client; otherwise, REQUIRED.

Guides