ramp-kit
v0.1.9LATAM fiat ramps on Stellar for AI agents: live quotes, sandbox orders, PIX/SPEI simulation, docs
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_documentation
LATAM Ramp Kit documentation. Topics: overview (what it is and solves), quickstart (code to integrate), sandbox-setup (Etherfuse/Manteca test credentials), environments (testnet/mainnet step-by-step + where credentials go: backend proxy vs frontend env vars vs no-backend SEP route), architecture (lifecycle, provider mapping, Stellar specifics), production (path to mainnet), troubleshooting (verified error fixes). Start here.
| Parameter | Type | Description |
|---|---|---|
topic * | string | Documentation topic to read |
list_providers
List configured ramp providers with their capabilities (countries, fiat currencies, settlement networks, Stellar-native flag) and whether live credentials are present.
list_assets
List tradable assets for a provider on a network. Asset identifiers are environment-specific — always use these, never hardcode.
| Parameter | Type | Description |
|---|---|---|
currency | string | Fiat currency hint, e.g. brl |
network | string | Network, default stellar |
provider | string | Provider name or "auto" (default) |
get_quote
Get a live ramp quote (fiat→crypto or crypto→fiat). Returns target amount, rate, fees and expiry. The quote id can be passed to create_order before it expires.
| Parameter | Type | Description |
|---|---|---|
assetIdentifier * | string | From list_assets |
direction * | string | |
fiatCurrency * | string | e.g. BRL, MXN |
sourceAmount * | string | Decimal string, fiat for onramp |
network | string | Default stellar |
payoutBankAccount | string | Offramp shorthand: the user's fiat payout bank account in local format (CBU, CLABE, IBAN, PIX key…). Required for Manteca offramps. For countries needing extra fields (bankCode, accountType…), use… |
payoutDestination | object | Offramp payout destination with provider-specific extras (bankCode, accountType, network…), passed through as-is. Overrides payoutBankAccount. |
provider | string | |
walletAddress | string | Destination Stellar address |
compare_quotes
Fan the same quote request out to every eligible provider and compare live rates (multi-anchor comparison).
| Parameter | Type | Description |
|---|---|---|
assetIdentifier * | string | |
direction * | string | |
fiatCurrency * | string | |
sourceAmount * | string | |
network | string | |
payoutBankAccount | string | Offramp shorthand: fiat payout bank account (CBU/CLABE/IBAN/PIX key) |
payoutDestination | object | Offramp payout destination with provider-specific extras; overrides payoutBankAccount |
walletAddress | string |
create_order
Turn a live quote (from get_quote/compare_quotes) into an order. Returns the normalized order with deposit instructions (PIX charge or SPEI CLABE). Manteca offramps require payoutBankAccount to have been passed at quote time. Sandbox/mock only through this server unless RAMPKIT_ENV=production.
| Parameter | Type | Description |
|---|---|---|
quoteId * | string | Quote id returned by get_quote |
bankAccountId | string | Etherfuse fiat-leg bank account (defaults to first compliant) |
get_order
Fetch the current normalized state of an order (created → awaiting_deposit → processing → settled | failed | cancelled).
| Parameter | Type | Description |
|---|---|---|
orderId * | string | |
provider | string |
simulate_deposit
SANDBOX ONLY: simulate the incoming fiat transfer for an order, as if the user paid. Refuses to run in production. Works for Etherfuse, Mock and Manteca (Manteca: instant rails PIX/BRL and SPEI/MXN settle sandbox onramps WITHOUT simulation — use this for bank-transfer rails like CLP; needs MANTECA_LEGAL_ENTITY env; BANK_ACCOUNT_NF means the (legalEntity, currency) pair has no provisioned sandbox account).
| Parameter | Type | Description |
|---|---|---|
orderId * | string | |
provider | string |
check_manteca_user
Validate a Manteca userAnyId (internal id, numberId or externalId) and report onboarding status. Use when quotes fail with USER_NF / 'User not found' — the id must belong to an onboarded user of YOUR Manteca account. Requires MANTECA_API_KEY.
| Parameter | Type | Description |
|---|---|---|
userAnyId * | string | Id, numberId or externalId to validate |
onboard_manteca_user
Create (onboard) a Manteca user — the mandatory prerequisite for any Manteca quote/order. The exchange fixes the user's ONE settlement currency (e.g. BRAZIL → BRL); to pay out in several countries, onboard one user per country. Sandbox onboarding auto-completes to ACTIVE in seconds (the sandbox dashboard has no onboarding UI — this API is the only path). CAVEATS: if the person already exists, Manteca returns 200 with the EXISTING user and a causedConflict flag — use the returned ids, not your externalId; Brazil validates legalId against a real-person registry (use the docs' test CPF 40…
| Parameter | Type | Description |
|---|---|---|
email * | string | |
exchange * | string | Country exchange, e.g. BRAZIL, ARGENTINA, COLOMBIA |
externalId * | string | Your stable id for this user |
legalId * | string | Local legal id: CPF (BR), DNI (AR), CURP/RFC (MX)… |
personalData | object | Per-country KYC fields (sex, phoneNumber, address.street…); diagnose_onboarding reports what's missing |
diagnose_onboarding
Full 'why is this user stuck in ONBOARDING?' diagnosis for a Manteca user: the missing per-country KYC FIELDS plus the onboarding TASK map (e.g. IDENTITY_VALIDATION = ID images pending — a user with zero missing fields can still be blocked by a task; Argentina always requires images). Requires MANTECA_API_KEY.
| Parameter | Type | Description |
|---|---|---|
userAnyId * | string |
get_wallet_state
Inspect a Stellar wallet: does the account exist, XLM balance, asset balances, and claimable balances waiting to be claimed (sponsored onramp deliveries).
| Parameter | Type | Description |
|---|---|---|
publicKey * | string | Stellar public key (G…) |
assetIdentifier | string | Optional "CODE:ISSUER" to check a specific trustline |