Roamduck for AI agents

An AI assistant can top up a phone, buy a digital gift card or a travel eSIM: it finds the product, shows the price and prepares the order. It gets back a payment link. A person pays that link in cryptocurrency; the agent cannot pay, and nothing is charged before the person does. The top-up, gift card or eSIM is then delivered automatically.

Connect

MCP server (Streamable HTTP, no sign-in):

https://roamduck.com/mcp

Claude (claude.ai or the desktop app): Settings, Connectors, Add custom connector, paste the URL, choose no sign-in. ChatGPT and other assistants: add it as a custom connector or remote MCP server the same way. Claude Code, in .mcp.json:

{
  "mcpServers": {
    "roamduck": { "type": "http", "url": "https://roamduck.com/mcp" }
  }
}

REST API: https://roamduck.com/api/agent/v1, described in openapi.json. A short text summary for language models is at /llms.txt.

Tools

The same operations are MCP tools and REST endpoints under /api/agent/v1.

toolRESTwhat it does
list_countriesGET /countriesCountries with mobile top-ups and their dialling prefixes.
find_operatorGET /lookup?phone=Country and operator of a phone number.
list_operatorsGET /operators?country=Mobile operators in a country.
list_productsGET /products?country=&operator=Top-up products with what the recipient gets and the price.
list_payment_coinsGET /payment-coinsOptional: coins to offer, with minimum payments.
create_orderPOST /ordersTop-up order; returns payment_url for a person to pay.
list_giftcard_countriesGET /giftcards/countriesCountries with gift cards.
search_giftcardsGET /giftcards?country=&query=Gift cards by country and/or brand, with the lowest EUR price.
get_giftcardGET /giftcards/{id}Card values with EUR prices (or a range), how to redeem, the country it is locked to.
create_giftcard_orderPOST /giftcards/ordersGift card order (product_id, face); the server sets the price; returns pay_url.
list_esim_destinationsGET /esims/destinationsCountries and regions with eSIM plans.
list_esim_plansGET /esims/plans?destination=eSIM plans for a destination: data, days, price, speed.
get_esim_planGET /esims/plans/{id}One plan with the countries, networks and speeds it covers.
create_esim_orderPOST /esims/orderseSIM order (plan_id); the server sets the price; returns pay_url.
get_orderGET /orders/{id}Status of any order. Once delivered: the gift card code or the eSIM install data, secrets for the buyer only.

How a top-up order works

  1. find_operator: country and operator of the number. If none comes back (numbers can move between operators), ask the person and use list_operators.
  2. list_products: what the recipient gets and the price, per product (sku).
  3. Confirm the number, operator, product and price with the person. Delivered top-ups cannot be reversed.
  4. Optional: ask which coin they want to pay with. list_payment_coins gives a short list with each coin's minimum payment.
  5. create_order: returns order_id and payment_url. The amount must be the product's price. With pay_with, the payment page opens with that coin selected.
  6. The person opens payment_url and pays on NOWPayments.
  7. get_order: follow the order until it is delivered.

Your user can also open the order page and ask for the order link by email. This is optional and not part of the API.

Gift cards

  1. search_giftcards with a country, a brand or both, then get_giftcard for the values and prices.
  2. Confirm the brand, the card's country and the value with the person. Gift cards are region locked: a card works only with accounts in its own country.
  3. create_giftcard_order with product_id and face (the card value in the card's currency). The person pays pay_url.
  4. get_order: once delivered, giftcard.cards holds the code and PIN. Give them only to the person who paid. A shown code cannot be refunded unless it does not work.

Travel eSIMs

  1. list_esim_destinations, list_esim_plans, then get_esim_plan for the coverage.
  2. Confirm the plan, and that the phone supports eSIM and is not locked to an operator (dialling *#06# shows an EID on eSIM phones).
  3. create_esim_order with plan_id. The person pays pay_url.
  4. get_order: once delivered, esim holds a QR code link, one-tap install links for iPhone and Android and the LPA string. Give them only to the person who paid; the QR code can usually be used only once.
  5. Later, get_order also returns usage for a delivered eSIM: status (not_started, active, ended or unknown), data left of the total (or unlimited), end date and days left; null when it cannot be read right now.

REST examples

curl "https://roamduck.com/api/agent/v1/lookup?phone=%2B525512345678"
curl "https://roamduck.com/api/agent/v1/products?country=MX&operator=TCMX"
curl "https://roamduck.com/api/agent/v1/payment-coins?amount=10&currency=EUR"
curl -X POST https://roamduck.com/api/agent/v1/orders \
  -H "Content-Type: application/json" \
  -d '{"sku":"SKU_FROM_PRODUCTS","phone":"+525512345678","amount":10.0,"currency":"EUR","pay_with":"usdttrc20"}'
curl "https://roamduck.com/api/agent/v1/giftcards?country=US&query=amazon"
curl -X POST https://roamduck.com/api/agent/v1/giftcards/orders \
  -H "Content-Type: application/json" -d '{"product_id":12345,"face":25}'
curl "https://roamduck.com/api/agent/v1/esims/plans?destination=JP"
curl -X POST https://roamduck.com/api/agent/v1/esims/orders \
  -H "Content-Type: application/json" -d '{"plan_id":"PLAN_ID_FROM_PLANS"}'
curl "https://roamduck.com/api/agent/v1/orders/ORDER_ID"

Order stages

stagemeaning
waitingNot paid yet.
confirmingPayment seen, waiting for network confirmations. Stablecoins on fast networks take about a minute, Bitcoin 10 to 30 minutes.
sendingPaid, the top-up, gift card or eSIM is on its way.
deliveredDelivered. For a gift card or an eSIM, get_order now returns the code or the install data.
underpaid, review, failedNeeds a person: write to support with the order id. We deliver or refund.
refundedThe payment was sent back.
expiredThe payment page closed and no payment arrived. Create a new order if the buyer still wants the top-up.

Limits

Privacy

The recipient's number is used only to send the top-up, as described in the privacy policy. It is never part of the payment link or the order id.

Questions or bulk volumes: support@roamduck.com

Back to Roamduck