Coinland Payمستندات
مرجع API

حساب

GET/api/pay/v1/me

این کلید به چه کسی تعلق دارد و چه چیزی می‌تواند بپذیرد — اولین فراخوانی که هنگام راه‌اندازی یکپارچه‌سازی باید انجام دهید.

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).

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"}