Skip to main content

Endpoint

POST /clients/business/customers/funds/transfer

Headers

Authorization
string
required
Bearer YOUR_ACCESS_TOKEN
SECRET_KEY
string
required
Your API secret key.
businessId
string
required
Your business ID.

Request body

amount
integer
required
Amount to transfer, in kobo.
receiverAccountNumber
string
required
The destination bank account number to credit.
receiverBankCode
string
required
The bank code of the receiving bank.
retrievalReference
string
required
A unique reference you generate for this transaction. Used for idempotency and reconciliation.
narration
string
required
A description of the transfer.

Response

status
boolean
true on success.
message
string
Confirmation message.
data.amount
string
Amount transferred, in kobo.
data.transactionCharge
string
Fee charged for the transfer, in kobo.
data.totalAmount
string
Total amount debited (amount + charge), in kobo.

Code examples

curl -X POST https://sandbox.stellasbank.com/api/v1/clients/business/customers/funds/transfer \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "SECRET_KEY: YOUR_SECRET_KEY" \
  -H "businessId: YOUR_BUSINESS_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 200000,
    "receiverAccountNumber": "0123456789",
    "receiverBankCode": "058",
    "retrievalReference": "txn_ref_002",
    "narration": "Salary payment"
  }'

Example response

{
  "status": true,
  "message": "Transfer successful",
  "data": {
    "amount": "200000",
    "transactionCharge": "10000",
    "totalAmount": "210000"
  }
}
All amounts are in kobo. Divide by 100 to convert to naira.