Businesses
- Business
- Financial Accounts
- Documents
- Scoped Authentication
- Configuration
- Tasks & Notifications
Financial Activity
- Accounts Receivable
- Customers
- Invoices
- Invoice Payments
- Payouts
- Refunds
- Write Offs
- Customer Credits
- Accounts Payable
- Bank Transactions
- General Ledger
- Tags
Accounting Reports
- Profit and Loss
- Balance Sheet
- Cash Flow Statement
Platform Configuration
- Plaid
- SMS
- Quickbooks
Activity Metrics
- Platform wide activity
- Business Activity
Quickbooks
- Configure Quickbooks
- Sync Quickbooks
- Quickbooks Ledger
Customers
Get a customer
Get an existing customer within Layer.
GET
/
v1
/
businesses
/
{business_id}
/
customers
/
{customer_id}
Copy
Ask AI
curl -X GET https://sandbox.layerfi.com/v1/businesses/${business_id}/customers/${customer_id} \
-H "Authorization: Bearer <access_token>" \
Copy
Ask AI
{
"data": {
"type": "CustomerData",
"id": "4f7c1b16-e057-4ec0-8b20-50308ba5b9ea",
"external_id": "customer-1",
"individual_name": "John Doe",
"company_name": "Acme, Inc.",
"email": "john@hotmail.com",
"mobile_phone": "555-555-5555",
"office_phone": "555-555-5555",
"address_string": "123 Main St, Phoenix, AZ 85001",
"notes": "This is a note",
"status": "ACTIVE",
"transaction_tags": []
}
}
Fetch a single specific customer by ID.
Path Parameters
ID of the Customer to be updated. This is the Layer id, not the external id.
Response
Returns the created Customer object
Copy
Ask AI
curl -X GET https://sandbox.layerfi.com/v1/businesses/${business_id}/customers/${customer_id} \
-H "Authorization: Bearer <access_token>" \
Copy
Ask AI
{
"data": {
"type": "CustomerData",
"id": "4f7c1b16-e057-4ec0-8b20-50308ba5b9ea",
"external_id": "customer-1",
"individual_name": "John Doe",
"company_name": "Acme, Inc.",
"email": "john@hotmail.com",
"mobile_phone": "555-555-5555",
"office_phone": "555-555-5555",
"address_string": "123 Main St, Phoenix, AZ 85001",
"notes": "This is a note",
"status": "ACTIVE",
"transaction_tags": []
}
}
Copy
Ask AI
curl -X GET https://sandbox.layerfi.com/v1/businesses/${business_id}/customers/${customer_id} \
-H "Authorization: Bearer <access_token>" \
Copy
Ask AI
{
"data": {
"type": "CustomerData",
"id": "4f7c1b16-e057-4ec0-8b20-50308ba5b9ea",
"external_id": "customer-1",
"individual_name": "John Doe",
"company_name": "Acme, Inc.",
"email": "john@hotmail.com",
"mobile_phone": "555-555-5555",
"office_phone": "555-555-5555",
"address_string": "123 Main St, Phoenix, AZ 85001",
"notes": "This is a note",
"status": "ACTIVE",
"transaction_tags": []
}
}
Assistant
Responses are generated using AI and may contain mistakes.