Merchants

Get Merchant

Retrieve a specific merchant by ID. Only returns the merchant matching the authenticated context.

GET
/merchants/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Use your secret API key as the bearer token

In: header

Path Parameters

id*string

Merchant ID

Match^mer_[A-Za-z0-9]{22}$

Response Body

application/json

application/json

application/json

curl -X GET "https://api.getlumen.dev/v1/merchants/string"
{
  "id": "string",
  "userId": "string",
  "organizationId": "string",
  "legalName": "string",
  "displayName": "string",
  "websiteUrl": "string",
  "taxId": "string",
  "supportEmail": "user@example.com",
  "billingEmail": "user@example.com",
  "phoneNumber": "string",
  "addressLine1": "string",
  "addressLine2": "string",
  "city": "string",
  "stateProvince": "string",
  "postalCode": "string",
  "country": "string",
  "defaultCurrency": "string",
  "supportedCurrencies": [
    "string"
  ],
  "timezone": "string",
  "invoicePrefix": "string",
  "brandingSettings": {},
  "notificationPreferences": {},
  "featureFlags": {},
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}