ShiftxPay
API Reference

List API keys

GET
/v1/merchants/me/api-keys
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/api-keys"
{  "data": [    {      "id": "ak_01ARZ3NDEKTSV4RRFFQ69G5FAV",      "name": "string",      "environment": "sandbox",      "suffix": "string",      "scopes": [        "string"      ],      "status": "active",      "last_used_at": "2019-08-24T14:15:22Z"    }  ]}
{  "error": {    "code": "unauthorized",    "message": "unauthorized"  }}