Account API

Accounts, an object that represents your Omise account.
You may use this object to check the current registered email address and account ID.

Attribute

Name Type Description
object string

The string account.

id string

The ACCOUNT_ID.

livemode boolean

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

location string

Path to retrieve the account.

email string

Registration email.

currency string

The currency as its lower-cased international 3-letter code, defined by the ISO 4217 standard.

supported_currencies Array

List of currencies that the account can proceed with.

created datetime

Creation date of the account in ISO 8601 format.

Example

  • Json Response

Retrieve the account

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

It may be interesting to note that both Test and Live keys will return the same account.

Example

  • Retrieve the account