Skip to main content
Version: 2019-05-29 (Current)

Retrieve account

Returns information about the account. Both test and live API keys return the same account details. Use this endpoint to verify account configuration and capabilities.

Request Parametersโ€‹

No parameters required for this endpoint.


Responsesโ€‹

200

Successful request

Returns the account object with all configuration details.

Account object contains:
  • id - Account identifier
  • email - Account email address
  • country - Two-letter ISO 3166 country code
  • currency - Three-letter ISO 4217 currency code
  • supported_currencies - Array of supported currencies for charges
  • webhook_uri - URI for account event notifications
  • api_version - Default API version for the account
  • chain_enabled - Boolean indicating if marketplace features are enabled
  • chain_return_uri - Return URI for marketplace transactions
  • zero_interest_installments - Boolean for merchant-funded installments
  • metadata_export_keys - Metadata keys included in exports
  • created_at - Account creation timestamp (ISO 8601)

401

Unauthorized

Authentication failed. Invalid or missing API key.

Common causes:
  • Missing Authorization header
  • Invalid secret key
  • Using public key instead of secret key
  • Incorrect HTTP Basic Auth format

5xx

Server error

Server-side error occurred. These are rare but should be handled gracefully.

How to handle:

Code samplesโ€‹

curl https://api.omise.co/account \
-u skey_test_5xuy4w91xqz7d1w9u0t:

๐Ÿ”‘API Credentials

Try it outโ€‹

Your IP: ...Loading...