Queries
The Cashramp API provides read-only queries to fetch essential data like payment rails, exchange rates, and transaction status.
Geography & Payment Rails
Available Countries
query {
availableCountries {
id
name # "Nigeria"
code # "NG"
}
}Returns every country that Cashramp currently supports.
P2P Payment-Method Types
query {
p2pPaymentMethodTypes(
country: "VHlwZXM6OkNvdW50cnktN2FhZjdlYjEtODIwYi00YzA4LWIyM2ItODFlN2FjMTQyYmI0"
) {
id
identifier # "mtn_momo_gh"
label # "MTN Mobile Money"
fields {
label # "Phone Number"
identifier # "phone_number"
required # true
}
}
}Render the fields array as input controls when you save a customer’s payout rail.
Rates & Limits
Indicative Market Rate
These figures are indicative only. The final FX rate is locked when an agent picks up the payment request.
Ramp Limits
Assets
Rampable Assets
List of stablecoins and networks currently supported for on-chain ramps.
Transaction Status
Payment Request by Reference
Poll or verify a webhook by cross-checking the status.
Onchain Withdrawal
Account Snapshot
Last updated