Skip to main content
POST
/
v2
/
transfers
/
bank
Perform bank account transfer from the parent account
curl --request POST \
  --url https://api.nomba.com/v2/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",
  "narration": "Testing Payment"
}
'
{
  "code": "200",
  "description": "SUCCESS",
  "data": {
    "amount": "1.0",
    "meta": {
      "api_rrn": "2309081xxxxxx",
      "narration": "Testing",
      "recipientName": "John doe",
      "sender_name": "Nightly Post",
      "merchantTxRef": "3JVW2xJCjj443oannREBuTaXDdji",
      "api_client_id": "6a7bed88-7c93-4a1c-a445-f88edbca6489",
      "currency": "NGN",
      "hooksEligible": "true",
      "banking_entity_id": "842f2b4320f",
      "banking_entity_user_id": "01a10aeb-d989-460a-bbde-9842f2b4320f",
      "banking_entity_type": "9842f2b4320f",
      "self_transaction": "true",
      "transactionCategory": "128735648",
      "accountNumber": "0127667384",
      "bankName": "GTbank",
      "bankCode": "058",
      "sessionId": "",
      "user_referral_code": "HABI76745",
      "amount_charged": "21.0",
      "paymentVendor": "Wallet",
      "wallet_balance": "5.38",
      "wallet_currency": "NGN",
      "paymentVendorReference": "01a10aeb-d989-460a-bbde-9840f",
      "agent_commission": "0.0",
      "useV2Fulfilment": "true"
    },
    "fee": 50,
    "timeCreated": "2023-09-08T14:17:13.634Z",
    "id": "API-TRANSFER-C24AD-a6443bf0-011c-4bc2-b739-4a2e33e2a27b",
    "type": "transfer",
    "status": "SUCCESS",
    "source": "api",
    "sourceUserId": "11ec45a1-1fe5-44f5-8baf-cxxxxxxxxxx",
    "customerBillerId": "010784xxxx",
    "productId": "058"
  },
  "message": "Success",
  "status": "true"
}

Authorizations

Authorization
string
header
required

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<uuid>
required

The parent accountId of the business.

Example:

"890022ce-bae0-45c1-9b9d-ee7872e6ca27"

Body

application/json

The request payload required to perform bank account transfer.

A structure representing an object required to post a bank account transfer.

amount
number<double>
required

The amount to be transferred.

Example:

3500

accountNumber
string
required

The destination bank account number.

Required string length: 10
Example:

"0554772814"

accountName
string
required

The name on the account.

Example:

"M.A Animashaun"

bankCode
string
required

The code of the recipient bank.

Example:

"058"

merchantTxRef
string
required

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

Example:

"UNQ_123abGGhh5546"

senderName
string
required

Sender name

Example:

"Nightly Post"

narration
string

The payment narration

Example:

"Testing Payment"

Response

OK - your request was successful.

code
string
required

Response Code

Example:

"200"

description
string
required

Response description

Example:

"SUCCESS"

data
object
required

Transfer data

message
string

Returned response message

Example:

"Success"

status
boolean

Response status

Example:

"true"