Skip to main content
TODO — The source documentation for this endpoint was incomplete. The response body was not documented. Verify the following before publishing:
  • Confirm the complete response fields
  • Confirm whether a payerAccountNumber is required or optional
  • Clarify the difference between this endpoint and the standard customer transfer

Endpoint

POST /clients/business/customers/funds/anonymous-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.
receiverBankCode
string
required
The bank code of the receiving bank.
retrievalReference
string
required
A unique reference you generate for this transaction.
narration
string
required
A description of the transfer.

Code examples

curl -X POST https://sandbox.stellasbank.com/api/v1/clients/business/customers/funds/anonymous-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": 150000,
    "receiverAccountNumber": "0123456789",
    "receiverBankCode": "011",
    "retrievalReference": "anon_txn_001",
    "narration": "Anonymous payment"
  }'