Debit customer account
Debits a customer’s account and credits your pool account or one of your business accounts. The amount is in kobo.
The account to debit must be one your business opened for its own customer. Set credit_pool_account to true to credit your pool account, or false and send account_to_credit, which must be your pool account or one of your business accounts.
The request runs as two legs: the debit and then the credit. If the credit fails, Halo reverses the debit.
Each request is checked against your per-transaction limit (default 500,000,000 kobo, NGN 5,000,000) and your daily limit (default 5,000,000,000 kobo, NGN 50,000,000). Halo can set different limits for your business. Transfers that are still unconfirmed count toward the daily limit.
The idempotency_key is required. Sending a key you already used returns the outcome recorded for it and sends nothing to the bank again. After a refusal or a reversal, use a new key to try again. A 202 means the outcome is unknown: do not retry, and check the reference named in the message with check-transaction-status.
Authentication
Your Halo partner API key, sent as Authorization: Bearer <key>.
Request
True to credit your pool account. False to credit account_to_credit.
Required when credit_pool_account is false. Your pool account or one of your business accounts.