API reference
Account
GET
/api/pay/v1/meWho this key belongs to and what it can take — the first call to make when wiring an integration.
Authorization
bearerKey AuthorizationBearer <token>
Authorization: Bearer clpay_live_<64 hex> for the checkout routes,
Authorization: Bearer clpay_payout_<64 hex> for the payout routes.
The wrong class on a route is PAY_WRONG_KEY_KIND (403).
A key may additionally carry an IP allowlist set in the business
console. Empty (the default) places no restriction; with entries, a
call from an unlisted address is UNAUTHORIZED (401).
In: header
Response Body
application/json
curl -X GET "https://example.com/api/pay/v1/me"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "display_name": "string", "display_name_fa": "string", "logo_url": "string", "status": "active", "accepted_currencies": [ "string" ], "webhook_url": "string"}