Skip to main content
Prices a collection without creating anything or sending a payment prompt.

Endpoint

Requires the onramp scope. See getting access.

Body

string
required
Only KES is supported.
number
The USDC amount you want to receive. The customer is charged this amount converted to KES, plus the platform fee. Provide this or amount_kes, not both.
number
The exact KES amount to charge the customer. The fee is taken from it and the remainder converts to USDC. Provide this or amount_usdc, not both.

Example

Response (200)

number
required
The exact figure the customer’s phone will be prompted to pay.
number
required
Minisend fee in KES, included in amount_kes.
number
required
amount_kes minus fee_kes. What converts to USDC.
number
required
What your address will receive.
number
required
KES per 1 USDC.
string
required
Indicative 5-minute quote validity, ISO 8601. The order executes at the live rate at creation time regardless.

Errors

See error handling for the response shape.