Orqpay
Partner Auth

Whoami

Returns partner and API key context for the current Bearer token.

GET
/v1/partner/whoami

Returns partner and API key context for the current Bearer token.

Authorization

bearerAuth
AuthorizationBearer <token>

Partner API key (pt_test_... or pt_live_...)

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/partner/whoami"
{  "partnerId": "bf408d53-df49-40a6-8455-a34bd4360901",  "name": "string",  "status": "invited",  "environment": "test",  "apiKeyId": "string"}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}