POST
/
v1
/
transfers
/
wallet
/
{accountId}
curl --request POST \
  --url https://api.nomba.com/v1/transfers/wallet/{accountId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'accountId: <accountid>' \
  --data '{
  "amount": 3500,
  "merchantTxRef": "UNQ_123abGGhh5546",
  "receiverAccountId": "890022ce-bae0-45c1-9b9d-ee7872e6ca27"
}'
{
  "code": "00",
  "data": {
    "amount": 5502,
    "fee": 50,
    "id": "API-P2P-C24AD-a6443bf0-011c-4bc2-b739-4a2e33e2a27b",
    "meta": {
      "api_account_id": "01a10aeb-d989-460a-bbde-9842f2b4320f",
      "api_client_id": "6a7bed88-7c93-4a1c-a445-f88edbca6489",
      "merchantTxRef": "3JVW2xJCjj443oannREBuTaXDdji",
      "rrn": "230908151711"
    },
    "status": "SUCCESS",
    "timeCreated": "2023-09-08T14:17:13.634Z",
    "type": "p2p"
  },
  "description": "Success"
}

Authorizations

Authorization
string
headerrequired

Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. In each of the methods, You will get an ACCESS_TOKEN. You need to use an "Authorization" HTTP header to provide your ACCESS_TOKEN. For example: Authorization: {ACCESS_TOKEN}.

Headers

accountId
string
required

The parent accountId of the business.

Path Parameters

accountId
string
required

The accountId to transfer from.

Body

application/json
amount
number
required

The amount to be transferred.

merchantTxRef
string
required

Unique reference used to track a transaction from an external process.

receiverAccountId
string
required

The receiver's accountId.

Response

200 - application/json
code
string
required

Response Code

data
object
required

Transfer data

description
string
required

Response description