Skip to main content

Payment Request

Overview

How to get started with Payment Request

VodaPay Gateway UAT
https://api.vodapaygatewayuat.vodacom.co.za/v3/ 
VodaPay Gateway Production
https://api.vodapaygateway.vodacom.co.za/v3/

VodaPay Gateway will supply you with the following:

  • Your API key - sent in the header value for the purposes of authentication and authorisation.
  • Once onboarded, you can locate your API key under your profile on the merchant portal - link provided below
MERCHANT PORTAL UAT
https://vodapayqa.vodacom.co.za/merchant
MERCHANT PORTAL PRODUCTION
https://vodapay.vodacom.co.za/merchant

Step-by-step process​

Step 1 - Choose Payment Request option

What type of payment request would you like to create?​

Fixed payment

Fixed payment allows you to send a payment request for a specific amount to your customer.

Step 2 - Test with Bank Test Cards

Sandbox Testing​

Use our sandbox to test your integration before going live

Find Out More

Bank Test Cards for UAT environment​

Contact vfsintegration@vodacom.co.za to get a list of cards to test with.

This is for testing transactions that will go to the bank's testing environment

Step 3 - Receive notification message via webhook

Additionally, a notification message is sent to a preconfigured - publicly accessible - Url, reporting the outcome of the payment journey.

The VodaPay Gateway system embeds assurance data in the notification message when sending it to the integrating e-commerce system. This provides a guarantee that the notification message has not been tampered with and allows the integrating e-commerce system to authenticate the message.

Webhook Notification Example​

Notification Response
{
"echoData": "123",
"transmissionDateTime": "2024-11-14T09:10:24+0000",
"paymentToken": "00000000-0000-0000-0000-000000000000",
"paymentReference": "00000000-0000-0000-0000-000000000000",
"sessionId": "00000000-0000-0000-0000-000000000000",
"responseCode": "00",
"responseMessage": "PURCHASED",
"retrievalReferenceNumber": "348934893489",
"retrievalReferenceNumberExtended": "MERCH383483489",
"merchantId": "VPS000000000000",
"merchantName": "Test Merchant",
"transactionAmount": 50000,
"currencyCode": "710",
"transactionId": "00000000-0000-0000-0000-000000000000",
"assuranceData": "62A04A843B74A81F8152E34580242257FA22DF820652429852C4B6DA655F72FC06827829C5D5E2D7D33CA742FE9B475ED9856C06FCDF41E947E734D08ABE3032",
"transactionInfo": { "paymentMethodCode": "06" }
}

Notification Response Parameters

echoDatastringOptional

Any value that needs to be echoed back in the Echo Data element of the response message. This value will also be echoed in the resulting notification messages and the message posted to the callback URL. If unfilled, defaults to null over an empty string.