Grain · Schema
ListCustomersResponseBody
A response containing a list of customers matching the search criteria.
FintechPaymentsCurrencyEmbedded
Properties
| Name | Type | Description |
|---|---|---|
| customers | array | A list of customers matching the search criteria. |
| pagination | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/grainfinance-co/json-schema/grainfinance-co-list-customers-response-body-schema.json",
"title": "ListCustomersResponseBody",
"description": "A response containing a list of customers matching the search criteria.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/grainfinance-co-customers-api-openapi.yml#/components/schemas/ListCustomersResponseBody",
"properties": {
"customers": {
"items": {
"$ref": "#/$defs/Customer"
},
"type": "array",
"description": "A list of customers matching the search criteria."
},
"pagination": {
"$ref": "#/$defs/PaginationResponse"
}
},
"required": [
"customers",
"pagination"
],
"type": "object",
"additionalProperties": false,
"$defs": {
"ContactEmail": {
"type": "string",
"description": "The email address of the company's primary contact"
},
"CountryCode": {
"type": "string",
"description": "The alpha-2 ISO 3166 country code of the entity's country.",
"pattern": "^[A-Za-z]{2}$"
},
"Customer": {
"properties": {
"id": {
"$ref": "#/$defs/UUID",
"description": "The id of the customer within the Grain platform."
},
"companyName": {
"type": "string",
"description": "The legal name of the customer's company"
},
"companyAddress": {
"type": "string",
"description": "The address of the company"
},
"companyCity": {
"type": "string",
"description": "The city of the company"
},
"companyState": {
"type": "string",
"description": "The state the company is in (US based)"
},
"companyCountry": {
"$ref": "#/$defs/CountryCode"
},
"contactEmail": {
"$ref": "#/$defs/ContactEmail",
"description": "The email for the company's primary contact"
},
"contactFullName": {
"type": "string",
"description": "The name of the company's primary contact"
},
"contactPhoneNumber": {
"type": "string",
"description": "The phone number of the company's primary contact"
},
"companyTaxId": {
"type": "string",
"description": "The tax identification or registration number of the company"
},
"externalCustomerId": {
"type": "string",
"description": "The id used to identify the customer within your platform"
},
"status": {
"$ref": "#/$defs/CustomerStatus"
},
"extraFields": {
"$ref": "#/$defs/CustomersExtraFieldsParam",
"description": "Additional fields that provide further details about the customer.\nThese fields should be specified as a valid JSON object."
}
},
"required": [
"id",
"companyName",
"companyCountry",
"externalCustomerId",
"status"
],
"type": "object",
"additionalProperties": false
},
"CustomerStatus": {
"description": "The eligibility of the customer to receive quotes",
"enum": [
"Pending",
"Approved",
"Rejected"
],
"type": "string"
},
"CustomersExtraFieldsParam": {
"properties": {},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number",
"format": "double"
},
{
"type": "boolean"
}
]
},
"type": "object",
"description": "Additional fields that provide further details about the company.\nThese fields should be specified as a valid JSON object."
},
"Page": {
"type": "number",
"format": "double",
"description": "The page indicating which set of items are returned",
"minimum": 1
},
"PaginationResponse": {
"description": "Pagination parameters of the returned results.",
"properties": {
"page": {
"$ref": "#/$defs/Page"
},
"perPage": {
"$ref": "#/$defs/PerPage"
},
"totalResults": {
"type": "number",
"format": "double",
"description": "The total amount of results available"
}
},
"required": [
"page",
"perPage",
"totalResults"
],
"type": "object",
"additionalProperties": false
},
"PerPage": {
"type": "number",
"format": "double",
"description": "number of items in a page",
"minimum": 1,
"maximum": 100
},
"UUID": {
"type": "string",
"format": "uuid",
"pattern": "[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}"
}
}
}
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
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/grainfinance-co-list-customers-response-body"
All schemas
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.