ShiftxPay
API Reference

List connectors

GET
/v1/merchants/me/connectors
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/connectors"
{  "data": [    {      "id": "mco_01ARZ3NDEKTSV4RRFFQ69G5FAV",      "connector": "peach",      "environment": "string",      "is_default": true,      "is_active": true,      "allowed_surfaces": [        "string"      ],      "default_surface": "string",      "selected_surface": "string",      "surface": "string",      "can_be_primary": true,      "external_account_id": "string"    }  ]}
{  "error": {    "code": "unauthorized",    "message": "unauthorized"  }}