GET
/api/public/v1/customers/{accountId}

Get a customer

Retrieve a single customer by ID.

Path Parameters

NameTypeRequiredDescription
accountIdstring
Required
Customer (account) ID.
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/customers/{accountId}" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key"
200Example response
json
{
  "message": "Customer retrieved successfully!",
  "content": {
    "customer": {
      "id": "cust_1"
    }
  }
}