Account API

The Account API allows you to retrieve information about an account, including registered email address, ID, and supported currencies. Note: both test and live keys return the same account.

Attribute

Name Type Description
object string

The string account.

id object_id

The ACCOUNT_ID matching /account(_test)?_[1-9a-z]+/.

livemode boolean

Whether this is a live (true) or test (false) account.

location string

API path to retrieve the current account object.

created datetime

The UTC datetime of the creation of the account in ISO 8601 format (YYYY-MM-DDThh:mm:ssZ).

currency string

The currency expressed as its lower-cased international 3-letter code defined by the ISO 4217 standard (see supported currencies by country).

email string

Email address associated with the account.

supported_currencies Array

An array of currencies that the account can use to create credit card charges (see supported currencies by country).

Example

  • Json Response

Retrieve the account

- GET https://api.omise.co/account

Returns the current account object.

Example

  • Retrieve the account