OTT

OTT are a South African alternative payment method provider. They provide a series of payment options for merchants operating in South Africa; including creating and redeeming vouchers, and bank-2-bank electronic funds transfers.

You can use OTT as a Payment Method for:

REST APIWebSDKHosted Payment Page
Payments✅ Available⛔️ Unavailable⛔️ Unavailable
Verification✅ Available➖ N/A➖ N/A
Split Auth & Capture⛔️ Unavailable⛔️ Unavailable⛔️ Unavailable
Payouts✅ Available⛔️ Unavailable⛔️ Unavailable
Refunds⛔️ Unavailable⛔️ Unavailable⛔️ Unavailable

Payment

The BR-DGE ottVoucher Payment Instrument can be used to redeem OTT vouchers. BR-DGE takes the OTT pin and sends it to OTT to redeem.

The outcome of a voucher redemption is either CAPTURED or REJECTED.

BR-DGE StatusDescription
CAPTUREDIf the voucher is successfully redeemed, then the BR-DGE payment status will be set to CAPTURED.
REJECTEDIf the voucher could not be redeemed, the BR-DGE payment will be updated with a REJECTED status.

Payment API Examples

OTT Voucher Redemption

When making a payment request with an OTT voucher code you can set the amount to 0. Doing so will redeem the full value of the voucher. The amount that is redeemed from the voucher, when setting the request amount to 0, will be returned to you in the amount field of the API response.

Any other positive integer value in the amount field will result in that amount, in the given currency, being redeemed from the voucher.

If you redeem an amount less than the value of the voucher, the remaining balance will be stored in the customer’s OTT Vault. They will be notified of this balance via an SMS, which will include a link they can use to generate a new voucher using the balance in their vault.

Request

To create a OTT payment, you need to send a request similar to the following to the BR-DGE POST /v1/payments REST API Endpoint.

For a full view of all available API request fields please view the Create a Payment REST API endpoint documentation directly.

{
    "amount": 0,
    "currencyCode": "ZAR",
    "paymentInstrument": {
        "type": "ottVoucher",
        "pin": "607276415871",
        "mobile": "+27721234567"
    }
}

Response

You should expect to receive a response similar to the below indicating whether the voucher redemption was successful, or not.

{
    "code": "1000",
    "message": "Approved",
    "id": "691ca00b78759f29aa82ec4597b2d512",
    "paymentId": "8f48a327-e043-4e91-ab07-e2d645a95c84",
    "amount": 5000,
    "currencyCode": "ZAR",
    "actionRequired": false,
    "psp": {
        "name": "OTT Mobile",
        "transactionId": "1759676"
    },
    "pspId": "OTT",
    "customerOrderCode": "ff163246-eb94-4763-9a2a-f5d6d48b026e",
    "merchantTransactionId": "ff163246-eb94-4763-9a2a-f5d6d48b026e"
}

Verification

You can check an OTT voucher before redeeming it. A verification tells you whether the voucher is valid and returns its serial number and value. It does not redeem the voucher.

Request

Send a request similar to the following to the BR-DGE POST /v1/payment-instrument-verifications REST API Endpoint.

{
    "psp": "OTT Mobile",
    "verificationDetails": {
        "type": "ottVoucher",
        "voucherPin": "607276415871"
    }
}

Response

verificationResult.success is true for a valid voucher. value is the voucher value in South African Rand cents, so 3000 is R30.00.

{
    "id": "907e304694fbc72b1b53c9e0fc8dc031",
    "verificationId": "81f39986-2ff6-42e2-afec-6ea85b4658c3",
    "psp": "OTT Mobile",
    "code": "1004",
    "message": "Request succeeded",
    "verificationResult": {
        "type": "ottVoucher",
        "success": true,
        "message": "Voucher Valid",
        "serial": "300001095954",
        "value": 3000
    }
}

For a voucher that cannot be used, verificationResult.success is false and message gives the reason from OTT.

{
    "psp": "OTT Mobile",
    "code": "1004",
    "message": "Success",
    "verificationResult": {
        "type": "ottVoucher",
        "success": false,
        "message": "Voucher has already been used",
        "errorCode": "7"
    }
}

Payout

The BR-DGE ottPayout Payment Instrument can be used to pay out to a customer, either as a new OTT voucher or as a bank transfer (EFT).

The providerName field chooses the payout type. It must exactly match the name of a provider that is active on your OTT account, including capitals and spaces.

Payout typeExample providerNameOutcome
VoucherOTT VOUCHERApproved straight away. The new voucher's pin and serialNumber are returned in the response.
Bank (EFT)Standard Bank Instant MoneyReturned as pending (HTTP 202, code 2101). The payout is approved once OTT confirms the transfer.

Payout API Examples

To create an OTT payout, send a request similar to the following to the BR-DGE POST /v1/payouts REST API Endpoint. Set psp to OTT Mobile.

Voucher Payout

{
    "psp": "OTT Mobile",
    "amount": 1000,
    "currencyCode": "ZAR",
    "recipient": {
        "firstName": "John",
        "lastName": "Smith",
        "documentType": "RSAID",
        "documentId": "9103215388086",
        "documentIssuer": "ZA",
        "phoneNumber": "+27721234567",
        "email": "[email protected]"
    },
    "paymentInstrument": {
        "type": "ottPayout",
        "providerName": "OTT VOUCHER"
    },
    "reference": "abc123",
    "purpose": "leisure"
}
{
    "code": "1000",
    "psp": {
        "name": "OTT Mobile",
        "additionalInfo": {
            "type": "ottPayout",
            "pin": "464828964739",
            "serialNumber": "300003849616"
        }
    }
}

Bank (EFT) Payout

{
    "psp": "OTT Mobile",
    "amount": 1000,
    "currencyCode": "ZAR",
    "recipient": {
        "firstName": "John",
        "lastName": "Smith",
        "documentType": "RSAID",
        "documentId": "9103215388086",
        "documentIssuer": "ZA",
        "phoneNumber": "+27721234567",
        "email": "[email protected]"
    },
    "paymentInstrument": {
        "type": "ottPayout",
        "providerName": "Standard Bank Instant Money",
        "bankDetails": {
            "bankDetailsFormat": "ZA",
            "accountName": "John Smith",
            "accountNumber": "1352184990",
            "branchName": "Main branch",
            "branchCode": "400040"
        }
    },
    "reference": "abc123",
    "purpose": "leisure"
}
{
    "code": "2101",
    "psp": {
        "name": "OTT Mobile",
        "additionalInfo": {
            "type": "ottPayout"
        }
    }
}

Onboarding & Support

To enable OTT on your BR-DGE retail channels, please get in contact with support.


Did this page help you?