curl --request POST \
  --url https://api.nomba.com/v1/transfers/bank \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'accountId: <accountid>' \
  --data '{
  "amount": 3500,
  "accountNumber": "0554772814",
  "accountName": "M.A Animashaun",
  "bankCode": "058",
  "merchantTxRef": "UNQ_123abGGhh5546",
  "senderName": "Nightly Post",
  "pin": "2222"
}'
{
  "code": "00",
  "description": "Success",
  "data": {
    "amount": 5502,
    "meta": {
      "merchantTxRef": "3JVW2xJCjj443oannREBuTaXDdji",
      "api_client_id": "6a7bed88-7c93-4a1c-a445-f88edbca6489",
      "api_account_id": "01a10aeb-d989-460a-bbde-9842f2b4320f",
      "rrn": "230908151711"
    },
    "fee": 50,
    "timeCreated": "2023-09-08T14:17:13.634Z",
    "id": "API-TRANSFER-C24AD-a6443bf0-011c-4bc2-b739-4a2e33e2a27b",
    "type": "transfer",
    "status": "SUCCESS"
  }
}

POST /v1/transfers/bank

Request body

amount
number
required

The amount to be transferred.

accountNumber
string
required

The destination bank account number.

accountName
string
required

The name on the account.

bankCode
string
required

The code of the recipient bank.

merchantTxRef
string
required

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

senderName
string
required

The sender’s name.

senderName
string
required

PIN.

Response body

code
string
required

Response code

description
string
required

Response description

data
object

The transfer data.

amount
number
required

The transfer amount.

meta
string
required

The transaction meta data.

merchantTxRef
string

Merchant transaction reference.

api_client_id
string

API client ID.

api_account_id
string

API account ID.

rrn
string

RRN (Retrieval Reference Number).

fee
number
required

The transfer fee.

timeCreated
string
required

The creation timestamp.

id
string
required

The transfer ID.

type
string
required

The transaction type.

status
string
required

The transaction status.