Utopia PaymentsDocs
Account

Retrieve your account

Returns the merchant this key belongs to: the business name and support email customers see, whether the key is a live or a test key (`livemode`), whether card payments are ready (`payments_enabled`), and the currencies new products and carts may be priced in. Call it to confirm a key works and which mode it is in, and read `currencies` before creating a product: a checkout in any other currency is refused with `CURRENCY_NOT_SUPPORTED`. While payments are unavailable the list is empty.

GET
/account

Returns the merchant this key belongs to: the business name and support email customers see, whether the key is a live or a test key (livemode), whether card payments are ready (payments_enabled), and the currencies new products and carts may be priced in. Call it to confirm a key works and which mode it is in, and read currencies before creating a product: a checkout in any other currency is refused with CURRENCY_NOT_SUPPORTED. While payments are unavailable the list is empty.

Authorization

secretKey
AuthorizationBearer <token>

Your secret key: sk_live_… or sk_test_….

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/account"
{  "object": "account",  "business_name": "string",  "support_email": "user@example.com",  "livemode": true,  "payments_enabled": true,  "subscriptions_enabled": true,  "currencies": [    "USD"  ]}