Methods
Shop
Key check: the shop the key belongs to.
Shop of the key
GET
/api/v1/shopThe shop the key belongs to and the access of the key: a convenient check of the key and the integration.
Request example
curl -X GET "https://coinspay.app/api/v1/shop" \
-H "Authorization: Bearer cpk_…"Response200
{
"shop": {
"id": "6f1c2b0e-4d8a-4c3e-9b21-7a5d0e3f8c42",
"name": "Lumen Store",
"created_at": "2026-10-16T09:12:44.512Z"
},
"key": {
"test": false,
"access": "invoices"
}
}Shop — All fields are in the Objects section
Errors
| 401 | No key or an invalid key: UNAUTHORIZED. |
| 403 | The shop is disabled: SHOP_DISABLED; the request came from an address outside the key's IP allowlist: IP_NOT_ALLOWED, the address is in details.ip; a test key called a method without test mode: TEST_MODE_UNSUPPORTED; an invoices-only key called a method that needs full access: KEY_ACCESS_DENIED. |