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

2 Get Order details By OrderId

Action

Using the OrderId you received in the previous call, proceed to make a get Order Id call to receive order details using the endpoint and values below.

Please note that if the status remains pending after a number of retries (ideally 10), contact API Marketplace Support.

Method GET
Endpoint https://b2b-api.nedbank.co.za/apimarket/b2b-sb/cashout/v1/orders/<OrderId>
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.
Response JSON
                    
{
    "Data": {
        "OrderId": "951f868c-e5f0-4d16-88f5-866ffce300c6",
        "Transactions": {
            "Voucher": {
                "Code": "0009113525",
                "Status": "REDEEMABLE",
                "VoucherAmount": {
                    "Amount": "10.00",
                    "Currency": "ZAR"
                },
                "Redeem": {
                    "Redeemable": true,
                    "Redeemed": false,
                    "RedeemedOn": "",
                    "RedeemedAt": ""
                },
                "Refund": {
                    "Refunded": false,
                    "RefundedOn": ""
                },
                "Pin": ""
            },
            "PaymentReferenceNumber": "20230713/NEDBANK/491719883690",
            "OrderCreateReference": "e8c392ac-5a2a-422b-94dc-03e8c283271d",
            "OrderDateTime": "2023-07-13T00:00:00",
            "OrderExpiry": "2023-08-12T00:00:00"
        }
    },
    "Links": {
        "Self": "https://api.nedbank.co.za/apimarket/sandbox/cashout/v1/orders/951f868c-e5f0-4d16-88f5-866ffce300c6"
    },
    "Meta": {}
}