Catalog
Buy from retail URLs with the agent JWT. There is no/api/agent/... money path and no /api/partner/....
ext_id is required on creates (idempotency). payment_source=stars → 403.
Space catalog reads (balance, card_products, offers, esim/plans) ~1 second apart. Faster bursts return 429 catalog_gap.
Cards
POST /api/card_products— takeidasimba_product_idPOST /api/pin/create_cardwithext_idPOST /api/pin/topup_card—card_idmust belong to this agentPOST /api/cards— list this agent’s cards
email, phone, names, country) are KYC for the card, not the agent 3-D Secure mailbox.
If you registered jwe_public_key, secrets can be JWE (ECDH-ES + A256GCM), same idea as Partner. Without a JWE key you get a mask, not PAN.
Gift cards
POST /api/offers(optionalquery)POST /api/purchasewithoffer_id+ext_id
eSIM
POST /api/esim/plans—esim_provider=yesim, optionalcountryISO2; take planidPOST /api/esim/new_plan5withplan_id+ext_id. If you passiccid, it must already belong to this agent.
Balance
GET /api/balance — prepaid USDT after confirmed TRON credit. Space this ~1s from other catalog reads.