ShiftxPay
API Reference

Get the authenticated merchant

GET
/v1/merchants/me
AuthorizationBearer <token>

A secret API key, e.g. Authorization: Bearer sk_test_....

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/merchants/me"
{  "id": "mer_01ARZ3NDEKTSV4RRFFQ69G5FAV",  "name": "string",  "status": "string",  "country_code": "string",  "currency_code": "string",  "email": "user@example.com"}
{  "error": {    "code": "unauthorized",    "message": "unauthorized"  }}