Agent account status

The account behind the API key, in the same shape as the registration body minus the api_key. Poll email_verified to learn when the human has confirmed the email and card top-ups are unlocked.

get/v1/agent/account

Request

  • Base URL: https://api.myotp.app
  • URL: https://api.myotp.app/v1/agent/account
  • Auth: none declared. Required headers: X-API-Key

Headers

X-API-Keystring required

API key for authentication.

Response

The account.

account_idstring required

Account identifier, "a" followed by 12 hex characters.

emailstring email required
email_verifiedboolean required

True once the human has pressed Confirm on the emailed link. Unlocks card top-ups.

balancenumber required

Credits on the balance. Zero at registration.

plan_idinteger required

The Starter pay-as-you-go pricing table (per-country credits).

statusstring required

Account status, "active" when the key can be used.

docsstring uri

Changes

No recorded changes to this operation across all 1 revision of this API.