POST /v1/stable/order/get-quote — get a time-limited quote to sell stablecoin (USDC / USDT) for fiat paid out to a bound bank account or mobile money wallet.targetAccountId is optional here, so you can show a rate before the end user binds a payout account. The payout account is bound with list-banks → check-account (MOBILE_MONEY only: KES / UGX / TZS; skip for BANK_TRANSFER) → add-account, and the returned accountId is passed as targetAccountId. Send targetAccountId in get-quote or in submit-order (at least one of them). If submit-order omits it, the targetAccountId of the quote is used; if both are sent, the submit-order value is used.| paymentMethod | KES | UGX | TZS |
|---|---|---|---|
MOBILE_MONEY | ✅ | ✅ | ✅ |
BANK_TRANSFER | ✅ | ❌ | ❌ |
| field | required | value |
|---|---|---|
businessType | yes | STABLE_SELL |
paymentMethod | yes | BANK_TRANSFER / MOBILE_MONEY |
sourceAccountId | no | null (or omit) for STABLE_SELL |
sourceCurrency | yes | USDC / USDT |
targetCurrency | yes | KES / UGX / TZS |
sourceAmount | yes | stablecoin amount to sell (decimal) |
targetAccountId | no | accountId returned by POST /v1/account/add-account; may be omitted or null at quote time |
paymentMethod + targetCurrency must be a supported combination (see matrix).targetAccountId is sent, it must belong to you and have the same paymentMethod + targetCurrency as the request.quoteId, one-way price, finalPrice, targetAmount, fees (ourFee / payInFee / payOutFee), expireTime (epoch ms).price is the quoted rate before fees.finalPrice = targetAmount / sourceAmount: the all-in rate after fees, i.e. how much targetCurrency the end user actually receives per 1 unit of sourceCurrency. Show this rate to the end user.sourceAmount=100.00 USDT, ourFee=1.00 USDT, price=128.50 → targetAmount=12721.50 KES, finalPrice=127.215.POST /v1/stable/order/submit-order before expireTime; after expiry request a new quote.targetCurrency=HKD, paymentMethod=BANK_TRANSFER, identify the user with externalUserId (no targetAccountId). externalUserId / subUserId are HKD only.