Skip to main content
Create a bank transfer using a previously resolved recipientCode. Transfers are debited from a Pasteaza wallet/source account.
Resolve the recipient account first. Pasteaza returns a reusable recipientCode that you can use for one or more transfers to the same recipient.

Endpoint

Headers

Request body

sourceAccountNumber identifies the Pasteaza wallet/source account balance that should fund the transfer. It is not the recipient’s bank account and it is not sent to the banking provider as the live debit account. For live transfers, Pasteaza uses its configured payout debit account with the provider while tracking the merchant-facing debit against your selected Pasteaza source account.

Example request

Successful response

Transfer flow

1

Resolve the recipient account

Send the account number and bank code to the Resolve Account endpoint.
2

Store the recipient code

Save the returned recipientCode for future transfers to the same recipient.
3

Create the transfer

Send the transfer request with recipientCode, amount, an idempotency key, and optionally sourceAccountNumber when you want to debit a specific Pasteaza source account.
4

Verify the transfer status

Confirm the final outcome using the Verify Transfer Status endpoint.

Notes

  • Always resolve an account before creating a transfer.
  • Use recipientCode instead of sending raw bank account details during transfer creation.
  • A recipientCode can be reused for multiple transfers to the same recipient.
  • sourceAccountNumber is optional. When provided, it must belong to one of your active Pasteaza wallet/source accounts in the same environment as your API key. If it is invalid, the API returns source_account_not_found.
  • If sourceAccountNumber is omitted, Pasteaza uses your primary active NGN source account, or creates and uses DEFAULT_NGN_WALLET when no primary source account exists.
  • Use an Idempotency-Key to prevent duplicate transfers. Idempotency is supported for transfer creation.
  • Transfers are NGN only in V1. Do not send a currency field.
  • The response includes sourceAccountNumber so you can reconcile which Pasteaza source account was debited.
  • A created transfer may return processing first.
  • Check the final status with the Verify Transfer Status endpoint.

Resolve account

Resolve a bank account and generate a recipient code.

Verify transfer status

Check the final status of a transfer.