Talk to usGet started
API reference

AgentPay REST API

Issue capped cards, run checkouts, keep merchant logins and fund the wallet. Resource-oriented URLs, JSON in and out, standard HTTP verbs and status codes.

Base URLhttps://api.joomjoo.com
VersionEvery endpoint is under /v1.
AuthAuthorization: Bearer mk_live_... on every request. See authentication.
Content typeapplication/json for every request body.
AmountsUS dollars as plain numbers: "amount": 20 is $20.00. Card and wallet math is exact to the cent internally.
Request idsEvery response carries X-Mooj-Request-Id, echoed as request_id in the body.

The host still carries the company's older name. api.joomjoo.com is the AgentPay API, and the older Cloud Run address keeps answering for integrations written before the rename.

Endpoints

Idempotency

POST /v1/checkout and POST /v1/wallet/bank-transfers take an idempotency_key, your own reference for the operation. A retry with the same key returns the same checkout or declaration instead of creating a second one. Always send one on a checkout.

Lookups never leak

A card, spend, checkout or connection that belongs to another account answers 404 with the same body as one that does not exist.

No test mode

Every call is live. A card you create is real and reserves its cap; a checkout you start buys. Use a small cap to try things, and close cards you do not use.