Sorry, you need to enable JavaScript to visit this website.

5 Voucher Details By VoucherCode

Action

Using your clientID and clientSecret (which you obtained when you created an application), you will make a Post request using the endpoint and values below to retrieve voucher details using voucher code.

Method POST
Endpoint https://b2b-api.nedbank.co.za/apimarket/b2b-sb/cashout/v1/vouchers/<VoucherCode>
Request
Headers
Header Value Description
x-ibm-client-id <YOUR CLIENT ID> The client ID you received when creating the app on the portal.
x-ibm-client-secret <YOUR CLIENT SECRET> The client secret you received when creating the app on the portal.
x-idempotency-key <RANDOM INTEGER> Random integer. Must be unique for every call.
x-jws-signature <RANDOM INTEGER> Replace with random value.
x-fapi-financial-id OB/2017/001 Financial ID.
x-fapi-customer-ip-address 101.12.212.99 Customer IP address.
x-fapi-interaction-id <RANDOM GUID> Replace with random value.
Content-Type application/json The data type being sent to the endpoint.

Body JSON
                                
{
    "Data": {
        "Initiation": {
            "InstructionIdentification": "REPLACE WITH RANDOM UNIQUE STRING",
            "CreditorAccount": {
                "SchemeName": "recipient",
                "Identification": "0710000000",
                "Name": "MyRefOnceOffQATrx",
                "SecondaryIdentification": "1"
            }
        },
        "ExpirationDateTime": "2024-04-17T17:31:51.477Z"
    },
    "Risk": {
        
    }
}
                                
                                
Response JSON
                            
{
  "Data": {
    "Voucher": {
      "Code": "2574161325",
      "Status": "REDEEMABLE",
      "Amount": {
        "Amount": "50.00",
        "Currency": "ZAR"
      },
      "Redeem": {
        "Redeemable": true,
        "Redeemed": false,
        "RedeemedOn": ""
      },
      "Refund": {
        "Refunded": false,
        "RefundedOn": ""
      }
    },
    "PaymentReferenceNumber": "20230404/NEDBANK/489166217750",
    "OrderCreateReference": "b527f8fd-a072-490d-9460-d691dd29a0c3",
    "OrderDateTime": "2023-03-07T00:00:00",
    "OrderExpiry": "2023-04-06T14:24:24.6253835"
  },
  "Links": {
    "Self": "https://api.nedbank.co.za/apimarket/sandbox/cashout/v1/vouchers/2574161325"
  },
  "Meta": {}
}