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
recipientCodeinstead of sending raw bank account details during transfer creation. - A
recipientCodecan be reused for multiple transfers to the same recipient. sourceAccountNumberis 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 returnssource_account_not_found.- If
sourceAccountNumberis omitted, Pasteaza uses your primary active NGN source account, or creates and usesDEFAULT_NGN_WALLETwhen no primary source account exists. - Use an
Idempotency-Keyto prevent duplicate transfers. Idempotency is supported for transfer creation. - Transfers are NGN only in V1. Do not send a
currencyfield. - The response includes
sourceAccountNumberso 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.
Related guides
Resolve account
Resolve a bank account and generate a recipient code.
Verify transfer status
Check the final status of a transfer.