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

15 Peer to Peer Transfer

Action

This API will do a transfer from this wallet to another wallet or valid Cellphone Number.Can be used by TPP if a valid heavy token is supplied. This can be secured by a heavy token that must be obtained with Permissions: TYPE=DoPeer2Peer and WALLET_ID={walletId} and AMOUNT=XXX and TO={To walletId or PhoneNumber}.


Method POST
Endpoint https://api.nedbank.co.za/apimarket/sandbox/nb-wallet/wallets/<WALLET_ID>/p2p-transfers
Note Replace <WALLET_ID>that you get at time of creating/linking wallet
Request
Headers
Header Value Description
Content-Type application/json The data type being sent to the endpoint.
Authorization Bearer <ACCESS_TOKEN> Replace <ACCESS_TOKEN> Replace  with the heavy token you received through the subscriptions API.
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.

Body JSON

For WalletId to WalletId :

                                                 
{
   "Amount":70,
   "Channel":"TPP",
   "Description":"Transaction description",
   "ExternalUniqueId":"5adde3f1-5de6-465f-a211-a091db0be086",
   "Location":"APIM",
   "ToWallet":{
      "WalletId":"66"
   }
}

                                
                                

For WalletId to Cellphone Number :

                                                 
{
   "Amount":70,
   "Channel":"TPP",
   "Description":"Transaction description",
   "ExternalUniqueId":"5adde3f1-5de6-465f-a211-a091db0be086",
   "Location":"APIM",
   "ToWallet":{
      "WalletMapping":{
          "ExternalIdType":"Msisdn",
          "ExternalId":"27785654321"
      }
   }
}
                                                 
                                            
Response JSON
                            
{
  "DebitTransactionId": "445896"
}