Auth
Whoami
Returns the merchant and API key context for the current Bearer token.
Returns the merchant and API key context for the current Bearer token.
Authorization
bearerAuth AuthorizationBearer <token>
Merchant API key (test_... or live_...)
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/whoami"{ "merchantId": "c3073b9d-edd0-49f2-a28d-b7ded8ff9a8b", "organizationId": "string", "environment": "test", "apiKeyId": "string"}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}