Account API

The Account API allows you to retrieve information about an account. Note: both test and live keys return the same account.

Attributes

Name Type Description
object string

The string account.

id object_id

The account identifier matching /account(_test)?_[0-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_at datetime

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

currency currency

Currency for account as three-letter ISO 4217 code.

email string

Account email address.

supported_currencies array

Currencies supported for credit and debit card charges by the country in which the account was registered. Enable multi-currency to use currencies other than your account currency.

team string

The account team identifier matching /acct(_test)?_[0-9a-z]+/. Teams are used to grant access to the account to other individuals and give them further administrative and/or technical roles by editing their profiles.

Example

  • JSON Response

Retrieve account information

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

Returns information about the account.

Example

  • Retrieve the account