GetCustomerResponse
Single customer response (summary DTO; optional nested accounting when include=accounting)
Properties
| Name | Type | Description |
|---|---|---|
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/benjipays-com/json-schema/benjipays-com-get-customer-response-schema.json",
"title": "GetCustomerResponse",
"description": "Single customer response (summary DTO; optional nested accounting when include=accounting)",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/benjipays-com-customers-api-openapi.yml#/components/schemas/GetCustomerResponse",
"type": "object",
"properties": {
"data": {
"$ref": "#/$defs/CustomerSummary"
}
},
"required": [
"data"
],
"additionalProperties": false,
"$defs": {
"CustomerAutoPaySettings": {
"type": "object",
"properties": {
"applyCreditMemos": {
"type": "boolean"
},
"autoProcessingDisabled": {
"type": "boolean"
},
"delayDays": {
"type": "number"
},
"surchargingDisabled": {
"type": "boolean"
},
"autoProcessAmountSkip": {
"anyOf": [
{},
{
"type": "null"
}
]
}
},
"required": [
"applyCreditMemos",
"autoProcessingDisabled",
"delayDays",
"surchargingDisabled",
"autoProcessAmountSkip"
],
"additionalProperties": false,
"description": "Per-customer auto-pay / processing overrides."
},
"CustomerBillingAddress": {
"anyOf": [
{
"type": "object",
"properties": {
"line1": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"line2": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"postalCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"line1",
"city",
"postalCode",
"country"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Billing address normalized across accounting systems."
},
"CustomerEmail": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"source": {
"type": "string"
}
},
"required": [
"email"
],
"additionalProperties": false,
"description": "Customer email entry (Benji emails[] slimmed for the API)."
},
"CustomerPortalSettings": {
"type": "object",
"properties": {
"portalAccessDisabled": {
"type": "boolean"
},
"defaultLanguage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"forceSavePaymentMethod": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Customer-level override of \"force save payment method\": `true` = force, `false` = never, `null` = inherit (from the parent profile customer when parent profiles are enabled, otherwise from the portal setting). This is the stored customer value, not the resolved effective value."
}
},
"required": [
"portalAccessDisabled",
"defaultLanguage",
"forceSavePaymentMethod"
],
"additionalProperties": false,
"description": "Per-customer portal overrides (portal.* company settings)."
},
"CustomerSummary": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Accounting system customer ID (same value accepted by GET /customers/:customerId)"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Customer display name from the accounting system"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"active": {
"type": "boolean"
},
"isProject": {
"description": "QBO-only (Jobs/sub-customers); omitted entirely for QBD, Xero, and Business Central.",
"type": "boolean"
},
"parents": {
"description": "Sub-customer/job hierarchy, direct parent first. QBO/QBD only; omitted entirely for Xero/Business Central.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id"
],
"additionalProperties": false
}
},
"balance": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "ISO 4217 currency code when available"
},
"billingAddress": {
"$ref": "#/$defs/CustomerBillingAddress"
},
"createdDate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastModifiedDate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"emails": {
"type": "array",
"items": {
"$ref": "#/$defs/CustomerEmail"
}
},
"paymentMethodsCount": {
"type": "number"
},
"autoPaySettings": {
"$ref": "#/$defs/CustomerAutoPaySettings"
},
"emailRemindersDisabled": {
"type": "boolean"
},
"portalSettings": {
"$ref": "#/$defs/CustomerPortalSettings"
},
"accounting": {
"description": "Full stored customer object (fields from the accounting system plus our own). Only present on GET /customers/:customerId when include=accounting.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"id",
"name",
"email",
"phone",
"active",
"balance",
"currency",
"billingAddress",
"createdDate",
"lastModifiedDate",
"emails",
"paymentMethodsCount",
"autoPaySettings",
"emailRemindersDisabled",
"portalSettings"
],
"additionalProperties": false,
"description": "Benji-controlled camelCase customer summary. Top-level = stable API; optional `accounting` = full stored customer (accounting-system fields plus our own; detail + include=accounting only)."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/benjipays-com-get-customer-response"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.