Transfers funds from a user's SubWallet to a Nigerian bank account.

Note: Additional information may be required in meta_data depending on the payout currency and destination requirements.

Request

Method: POST

Endpoint:

{{base_url}}/api/v1/payout/wallet-bank

Authentication & Headers

HeaderTypeRequiredDescription
AuthorizationStringYesBearer <token> — your activated authentication token.
x-merchant-refStringYesYour unique merchant reference.
Content-TypeStringYesMust be set to application/json.

Example Request

curl --location -g '{{base_url}}/api/v1/payout/wallet-bank' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-merchant-ref: MERCHANT-REF-001' \
--data '{
  "user_ref": "USER-REF-001",
  "currency": "NGN",
  "wallet_type": "SUB_WALLET",
  "txn_merchant_ref": "TXN-REF-001",
  "amount": 500,
  "account_no": "8064642044",
  "bank_code": "100004",
  "meta_data": {},
  "notification_url": "https://example.com/webhook"
}'

Request Body

{
  "user_ref": "USER-REF-001",
  "currency": "NGN",
  "wallet_type": "SUB_WALLET",
  "txn_merchant_ref": "TXN-REF-001",
  "amount": 500,
  "account_no": "8064642044",
  "bank_code": "100004",
  "meta_data": {},
  "notification_url": "https://example.com/webhook"
}

Request Fields

FieldTypeRequiredDescription
user_refStringYesUnique reference identifying the user whose SubWallet will be debited.
currencyStringYesCurrency of the payout, e.g. NGN.
wallet_typeStringYesSpecifies the source wallet. For SubWallet payouts, use SUB_WALLET.
txn_merchant_refStringYesUnique merchant reference for the payout transaction.
amountNumberYesAmount to be transferred to the bank account.
account_noStringYesBeneficiary's bank account number.
bank_codeStringYesBank code identifying the beneficiary's bank.
meta_dataObjectYesAdditional payout information. The required fields may vary depending on the currency and payout requirements.
notification_urlStringNoURL where LedgerBlock can send transaction status notifications.

Transfer Flow

User SubWallet → Select Bank → Provide Account Details → Authorize Transaction → Transfer Processing → Bank Account Credited

Before initiating the transfer, ensure that the bank_code and account_no correspond to the intended beneficiary account.


Did this page help you?