Talk to usGet started
Cards

Connect the person's own card

A one-hour, single-use link where the cardholder connects their own credit or debit card behind a passkey. Send it to them; never open it yourself.

The card is encrypted on the cardholder's device before it leaves the page. AgentPay never holds the number in clear and never stores the security code. Nothing is issued and nothing is prepaid: they keep their points.

POST/v1/cards/connect
Live API. A POST to /v1/cards issues a real card.
Authorizations
Authorizationstringrequired
Bearer token: Authorization: Bearer mk_live_.... Create a key in the AgentPay console under Developer, API keys.
Response200application/json
connect_idstring
The enrolment id.
connect_urlstring
The link for the cardholder. Safari or Chrome, on the phone they will approve purchases with.
expires_atstring
ISO 8601. One hour after creation.
statusstring
open.
instructionsstring
What to tell the cardholder, in plain words.
request_idstring
The request id, also in the X-Mooj-Request-Id header.
Errors
StatusCodeWhen
503own_card_unavailableConnecting a card is not switched on for the account.
502connect_failedThe link could not be created. Retry.