Payments API Guide

Get Started

The Ozow Payment API allows you to build Ozow's real-time EFT functionality directly into your website or app. This integration method gives you more flexibility but would require more effort than using the Ozow hosted method.

Before getting started you require the following:

  • Your Ozow merchant details:
  1. Site code
  2. Private key
  3. API key
  • Your Ozow merchant account has been granted API access

📘

API Access

This API will only be made available to selected merchants, so make sure you apply for access before commencing development. Always ensure that you adhere to the API guidelines to avoid having your access revoked.


Overview

The diagram below outlines the process flow that a standard payment will follow. These steps are explained in detail in the next few sections of this guide.


API Endpoints


Common Headers

All requests excluding the "Get Token" request require the following HTTP headers.

NameTypeReqDescription
Authorizationstring (500)YThe token generated using the get token method. eg. Authorization: Bearer [token]
Content-Typestring (50)NThe format the response should be returned in e.g.
Accept: application/json
Accept: application/x-www-form-urlencoded
Acceptstring (50)YThe format the response should be returned in e.g.
Accept: application/json
Accept: application/xml

Error Object

All requests return the same error object to indicate if an error has occurred.

NameTypeDescription
MessagestringThe error message
CanContinueboolWhether or not the process can continue.