CraftPayDocs
API reference

Store

Basic information about the store the API key belongs to.

Get the store

GET/v1/store API key

The store's name, address, currency and whether test mode is on.

Request
curl https://api.craftpay.net/v1/store \
  -H "Authorization: Bearer cp_sk_..."
Response · 200
{
  "data": {
    "id": "cm3k9x2f80001",
    "name": "Mist Network",
    "slug": "mist",
    "url": "https://mist.craftpay.net",
    "currency": "EUR",
    "testMode": false
  }
}

Stuck? Write to mail@craftpay.net