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

10 Get Refund Status

Action

Using the ID you received in the previous call, proceed to make a get refund status call to receive refund status using the endpoint and values below.

To consume this API you will nedd to request API Marketplace team to provide a clientid,clientsecret,certificate.pfx and its passphrase.


Method GET
Endpoint https://b2b-api.nedbank.co.za/apimarket/b2b-sb/payments/v1/refunds/<ID>
Note Replace<ID> that you get at the time of creation of refund request.
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.
Response JSON
                    
{
    "Data": {
        "ID": "01HEW1GFDSBEN956Z9RHTF4FY3",
        "PaymentID": "26381573",
        "RequestedDateTime": "2023-11-10T07:21:46.199Z",
        "RefundStatus": "AcceptedSettlementInProcess",
        "RefundDetails": {
            "DebtorAccount": {
                "SchemeName": "SortCodeAccountNumber",
                "Identification": "1987651234567890",
                "Name": "ACME Inc"
            },
            "InterBankSettlementAmount": "1.00",
            "Currency": "ZAR",
            "RefundIdentifiers": {
                "EndToEndID": "00016899308543731",
                "InstructionIdentification": "1320134c-56af-4ac1-8c2a-68aa2af67"
            }
        }
    },
    "Links": {
        "Self": "https://b2b-api.nedbank.co.za/apimarket/b2b-sb/payments/v1/refunds/01HEW1GFDSBEN956Z9RHTF4FY3"
    }
}