Skip to main content
POST

Authorizations

Authorization
string
header
required

Stablepay API key. Include as Authorization: Bearer <key>.

Body

application/json
accountNumber
string
required

The bank account number, mobile money number, merchant identifier, or payment QR code.

Example:

"+254712345678"

country
enum<string>
required

Merchant or recipient country code.

Available options:
GH,
KE,
NG,
TZ,
UG,
ZM,
CM,
CI,
SN,
BJ,
BF,
CD,
ZA
paymentMethod
enum<string>
required

The supported payment method used to deliver funds to the merchant or recipient.

Available options:
BANK,
MOMO,
PAYBILL,
TILL,
QR
paymentCode
string

Required when paymentMethod is BANK or PAYBILL (TZ). Available BANK options: OPAY, PALMPAY, MONIEPOINT, or BANKCODE. Available PAYBILL (TZ) options: PAYBILLCODE.

Example:

"OPAY"

Response

Account resolved successfully.

accountName
string
required

Resolved account holder name for merchant or recipient. Returns the phone number for corridors that only support operator detection.

Example:

"Jane Doe"

accountNumber
string
required

The resolved bank account number, mobile money number, or merchant identifier.

Example:

"+254712345678"

paymentCode
string | null
required

Carry this value forward directly as paymentCode on the payment endpoints. PAYBILL / TILL: No code applies for these methods.

Example:

"MPESA"

country
string
required

Merchant or recipient country code as supplied in the request.

Example:

"KE"

currency
string
required

Fiat currency derived from the country code. Use as sourceCurrency (payin) or destinationCurrency (payout) in subsequent calls.

Example:

"KES"

paymentMethod
string
required

Payment method as supplied in the request.

Example:

"MOMO"

accountType
enum<string>
required

Resolves to CONSUMER for a personal account, or MERCHANT for a business account.

Available options:
CONSUMER,
MERCHANT
Example:

"CONSUMER"

resolveToken
string | null
required

Shortlived token for merchant validated.

Example:

"eyJhciOi......iJ9MzILBkpU"