Skip to main content
GET
/
v1
/
auth
/
self
Inspect the current API key
curl --request GET \
  --url https://api.yuvexpay.com/v1/auth/self \
  --header 'Authorization: Bearer <token>'
{
  "apiKey": {
    "id": "5d0f8b6e-3a02-4f5b-9e1c-7c6a4a1b8c9d",
    "name": "Backend integration",
    "description": null,
    "environment": "PRODUCTION",
    "prefix": "ypk_live_ab12cd34ef",
    "scopes": [
      "payments:write",
      "payments:read",
      "withdrawals:write",
      "withdrawals:read"
    ],
    "ipAllowlist": [
      "203.0.113.10"
    ],
    "rateLimitPerMinute": 600,
    "expiresAt": null,
    "lastUsedAt": "2026-05-03T14:21:08.443Z",
    "createdAt": "2026-04-12T09:00:00.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.yuvexpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

YuvexPay API key. Include as Authorization: Bearer ypk_<env>_<kid>_<secret> where <env> is test (sandbox) or live (production). Create and manage keys in the dashboard under Settings > API Keys.

Response

API key metadata.

apiKey
object