Talk to usGet started
Connections

Get a connection

One connection with its status and passkey layer. Poll it after a disconnect to watch the passkey being removed.

GET/v1/connections/{id}
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.
Path parameters
idstringrequired
The connection id.
Response200application/json
connection_idstring
merchantstring
statusstring
Available options: pending, connected, removed
layerstring
Available options: session, passkey
passkey_statusstring
Available options: none, enrolling, awaiting_password, pending, connected, connected_unmanaged, failed, needs_person, login_failed, removing, removed, removed_locally
remote_removalstring
Available options: available, unavailable
passkey_connected_atstring
request_idstring
The request id, also in the X-Mooj-Request-Id header.
Errors
StatusCodeWhen
404connection_not_foundNo such connection on your account.