Create Payin
Submit a fiat-to-stablecoin payin.
Authorizations
Stablepay API key. Include as Authorization: Bearer <key>.
Headers
Client-generated UUID. Required to prevent duplicate payments.
Body
The payment amount in local currency.
"1000"
Fiat currency sent onchain for payment settlement.
GHS, KES, NGN, TZS, UGX, ZMW, ZAR, XAF, XOF, CDF Stablecoin received by the recipient.
USDC, USDT Supported blockchains for onchain settlement.
BSC, SOLANA The supported payment method used to deliver funds to the recipient.
MOMO, BANK Wallet issuer's unique reference.
"csh-txn-20260506-001"
The account number of the payment method. Must be in E.164 format with the + prefix when paymentMethod is MOMO.
"+254712345678"
Recipient full name associated with the payment method. Required when paymentMethod is MOMO; optional otherwise.
"Jane Doe"
Required when paymentMethod is MOMO, OPAY. Available MOMO options: MPESA, MTN, AIRTEL, TIGO, ZAMTEL, HALOTEL, VODAFONE, VODACOM, ORANGE, MOOV, FREE. Available BANK options: OPAY.
Customer's email address. Required when paymentMethod is BANK; optional otherwise.
"jane@example.com"
A method-specific identifier required for processing the payment. Examples include BVN (BANK) or other market specific references.
The customer this payment is for. Required when KYC is enabled for your account.
"cus_01KXG3R0X8DXTKB849FFFEPT7Y"
Response
Payment accepted. The provider will collect fiat from the customer asynchronously.
Listen for the payment.succeeded webhook for finality.
Use this ID to track the payment status.
"pay_01HV8KZMRJPQR9S7T3XABCDEF"
"provider_accepted"
Provider's internal transaction ID.
For bank payins that require the customer to transfer fiat into a provided account.

