Transfer types explanation
What the user has to do once an order exists, and what each shape looks like.
Once an order is created the user has to pay. order.deposit.transferInstructions.type says how, and each type carries different data:
manual – the user makes the transfer themselves from the details we give. Carries
transferDetails.redirect – the user finishes on a third-party payment page. Carries
paymentUrl.stk_push – the user gets a prompt on their phone and approves it with their PIN. Carries the intermediate-action fields below. If the prompt does not arrive, call Trigger order intermediate action to send another.
otp_stk_push – same as
stk_push, but first the user verifies their phone number with a code sent by SMS or WhatsApp. Submit that code to Trigger order intermediate action; the prompt follows. AddsfieldsForIntermediateActionandotpChannel.ussd – the user dials a code on their handset. Carries
ussdCode.
The intermediate-action fields on stk_push and otp_stk_push:
isIntermediateActionAvailable
whether you may call the endpoint at all
intermediateActionMaxAttempts
the total budget
intermediateActionAttempts
how many have been used
intermediateActionNextAttemptAvailableAt
the earliest time you may try again
intermediateActionTimeoutMs
how long to wait before treating an attempt as lost
intermediateActionButtonText
a ready-made label for your retry button
intermediateActionExecuted
whether the action has already gone through
Full field lists are on Types.
Example of the manual transfer
A fiat (bank) → crypto order created through Create order. The order.deposit.transferInstructions could look like this:
Which says:
The type is manual, so the user makes the transfer themselves.
They must send 14800 NGN to account 9670555843 with the narration shc-pshr4upg8s. Both the amount and the narration have to match, and the money has to come from the account they gave you.
The
recipient*details are the agent's account, not the account the user gave you.fieldsToConfirmOrderis empty, so Confirm order needs only the order ID.
Example of the stk_push transfer
A fiat (mobile money) → crypto order:
Which says:
The user should already have a prompt on their phone asking them to send 635.
One of three attempts is used. If nothing arrived, you can send another after 2025-12-01T11:54:49.260Z — two more times — by calling Trigger order intermediate action with just the order ID.
Do not spend the last attempt on a whim: calling once the budget is exhausted expires the order.
Example of the otp_stk_push transfer
A fiat (mobile money) → crypto order where the phone number has to be verified first. You will only see this on an order created from a quote that pinned transferType: "otp_stk_push":
Which says:
We already sent the code over whatsapp. Ask the user for it.
otpChannelcan also besms,ussdoremail.Post it as otpCode to Trigger order intermediate action. The USSD prompt follows.
intermediateActionNextAttemptAvailableAtis the epoch, so you may call immediately.intermediateActionExecutedisfalse, so nothing has been submitted yet.
Example of the redirect transfer
Redirect is not a bank-only shape: Ivorian mobile money and the Senegalese, Ivorian and Gambian digital wallets are all redirect channels today.
Send the user to paymentUrl. Some redirect offers also ask you for a redirectUrl in fieldsToCreateOrder — the page to bring them back to when they finish.
Example of the ussd transfer
The shape is implemented but no live offer serves it right now, so treat this as future-proofing rather than something to test against:
Show ussdCode and let the user dial it. No prompt arrives — they start the transfer themselves from the handset.
Last updated

