Merchants

Get Current Merchant

Retrieve the current merchant associated with the authenticated account. Requires bearer auth (session or API key).

GET
/merchants/current

Authorization

bearerAuth
AuthorizationBearer <token>

Use your secret API key as the bearer token

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://api.getlumen.dev/v1/merchants/current"
{
  "id": "mer_7X2FxYk1zv3p4LqB0sDn",
  "userId": "user_9d5f2e1c",
  "organizationId": "org_3c8a9f7b",
  "legalName": "Acme Inc.",
  "displayName": "Acme",
  "taxId": "US123456789",
  "websiteUrl": "https://acme.com",
  "supportEmail": "support@acme.com",
  "billingEmail": "billing@acme.com",
  "phoneNumber": "+1-415-555-1234",
  "addressLine1": "123 Market St",
  "city": "San Francisco",
  "stateProvince": "CA",
  "postalCode": "94105",
  "country": "US",
  "defaultCurrency": "USD",
  "timezone": "America/Los_Angeles",
  "invoicePrefix": "ACME",
  "createdAt": "2025-02-20T18:12:11.123Z",
  "updatedAt": "2025-02-21T09:30:00.000Z"
}
{
  "error": "No merchant associated with this account"
}
{
  "error": "Internal server error"
}