Skip to content

API reference: Objects

The Account object

The store an API key belongs to, and the environment of the key.

Retrieving it is the simplest way to check that a key works.

Account object
{
  "object": "account",
  "id": "7d0b6a3e-1c52-4f8e-9a44-2b6e8f1d0c35",
  "name": "Boutique Alger",
  "livemode": false,
  "live_enabled": false,
  "currency": "DZD",
  "payment_page": "rais"
}

Attributes

objectstring

The type of the object.

Always account.

idstring

The unique identifier of your store.

namestring

The name of your store.

livemodeboolean

The environment of the key used for this request.

live_enabledboolean

Whether your store may take live payments (business verification complete).

currencystring

The only supported currency.

Always DZD.

payment_pagestring

The payment page your payments use by default.

One of rais, satim.