> For the complete documentation index, see [llms.txt](https://cardknox.gitbook.io/sola-dev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cardknox.gitbook.io/sola-dev-docs/api-reference/customer-and-recurring-api/customer.md). Agents can also search and read this documentation through its [MCP server](https://cardknox.gitbook.io/sola-dev-docs/~gitbook/mcp).

# Customer

## Create Customer

> Use this endpoint to create a new customer record in the Customer & Recurring API. Submit the customer's business or personal profile, contact information, and billing or shipping details so the record can be used for stored payment methods, schedules, and future customer-level transactions.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Customer APIs","version":"1.0.0"},"tags":[{"name":"Customer"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/CreateCustomer":{"post":{"summary":"Create Customer","description":"Use this endpoint to create a new customer record in the Customer & Recurring API. Submit the customer's business or personal profile, contact information, and billing or shipping details so the record can be used for stored payment methods, schedules, and future customer-level transactions.\n","operationId":"API_046_CreateCustomer","tags":["Customer"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"CustomerNumber":{"type":"string","description":"Merchant's internal customer identifier.","X-required-conditional":false,"X-condition-logic":""},"CustomerNotes":{"type":"string","description":"Notes pertaining to the customer.","X-required-conditional":false,"X-condition-logic":""},"Email":{"type":"string","description":"Customer's email address.","X-required-conditional":false,"X-condition-logic":""},"Fax":{"type":"string","description":"Customer's fax number.","X-required-conditional":false,"X-condition-logic":""},"BillFirstName":{"type":"string","description":"Customer's first name for billing profile.\n\n**Conditional:** Required if BillLastName and BillCompany not passed.\n","X-required-conditional":true,"X-condition-logic":"Required if BillLastName and BillCompany not passed."},"BillMiddleName":{"type":"string","description":"Customer's middle name for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillLastName":{"type":"string","description":"Customer's last name for billing profile.\n\n**Conditional:** Required if BillFirstName and BillCompany not passed.\n","X-required-conditional":true,"X-condition-logic":"Required if BillFirstName and BillCompany not passed."},"BillCompany":{"type":"string","description":"Customer's company name for billing profile.\n\n**Conditional:** Required if BillFirstName and BillLastName not passed.\n","X-required-conditional":true,"X-condition-logic":"Required if BillFirstName and BillLastName not passed."},"BillStreet":{"type":"string","description":"Customer street for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillStreet2":{"type":"string","description":"Customer street2 for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillCity":{"type":"string","description":"Customer city for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillState":{"type":"string","description":"Customer state for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillZip":{"type":"string","description":"Customer zip for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillCountry":{"type":"string","description":"Customer country for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillPhone":{"type":"string","description":"Customer phone for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillMobile":{"type":"string","description":"Customer mobile for billing profile.","X-required-conditional":false,"X-condition-logic":""},"ShipFirstName":{"type":"string","description":"Customer firstname for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipMiddleName":{"type":"string","description":"Customer middlename for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipLastName":{"type":"string","description":"Customer lastname for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipCompany":{"type":"string","description":"Customer company for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipStreet":{"type":"string","description":"Customer street for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipStreet2":{"type":"string","description":"Customer street2 for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipCity":{"type":"string","description":"Customer city for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipState":{"type":"string","description":"Customer state for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipZip":{"type":"string","description":"Customer zip for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipCountry":{"type":"string","description":"Customer country for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipPhone":{"type":"string","description":"Customer phone for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipMobile":{"type":"string","description":"Customer mobile for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"ShipEmail":{"type":"string","description":"Customer email for shipping profile.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom01":{"type":"string","description":"Custom field 01. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom02":{"type":"string","description":"Custom field 02. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom03":{"type":"string","description":"Custom field 03. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom04":{"type":"string","description":"Custom field 04. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom05":{"type":"string","description":"Custom field 05. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom06":{"type":"string","description":"Custom field 06. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom07":{"type":"string","description":"Custom field 07. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom08":{"type":"string","description":"Custom field 08. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom09":{"type":"string","description":"Custom field 09. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom10":{"type":"string","description":"Custom field 10. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom11":{"type":"string","description":"Custom field 11. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom12":{"type":"string","description":"Custom field 12. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom13":{"type":"string","description":"Custom field 13. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom14":{"type":"string","description":"Custom field 14. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom15":{"type":"string","description":"Custom field 15. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom16":{"type":"string","description":"Custom field 16. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom17":{"type":"string","description":"Custom field 17. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom18":{"type":"string","description":"Custom field 18. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom19":{"type":"string","description":"Custom field 19. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom20":{"type":"string","description":"Custom field 20. CustomerCustom01-20.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S=success E=error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"Error message if Result is E."},"CustomerId":{"type":"string","description":"The created customer ID."}}}}}}}}}}}
```

## Update Customer

> Use this endpoint to update an existing customer record in the Customer & Recurring API. Submit the latest customer profile data together with the required revision information so changes can be applied safely without overwriting a newer version of the record.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Customer APIs","version":"1.0.0"},"tags":[{"name":"Customer"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/UpdateCustomer":{"post":{"summary":"Update Customer","description":"Use this endpoint to update an existing customer record in the Customer & Recurring API. Submit the latest customer profile data together with the required revision information so changes can be applied safely without overwriting a newer version of the record.\n","operationId":"API_047_UpdateCustomer","tags":["Customer"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"Revision":{"type":"integer","description":"The revision number. Update fails if mismatch.","X-required-conditional":false,"X-condition-logic":""},"CustomerId":{"type":"string","description":"The ID of the customer to update.","X-required-conditional":false,"X-condition-logic":""},"DefaultPaymentMethodId":{"type":"string","description":"The ID of the created payment method.","X-required-conditional":false,"X-condition-logic":""},"CustomerNumber":{"type":"string","description":"Merchant's internal customer identifier.","X-required-conditional":false,"X-condition-logic":""},"CustomerNotes":{"type":"string","description":"Notes pertaining to the customer.","X-required-conditional":false,"X-condition-logic":""},"Email":{"type":"string","description":"Customer's email address.","X-required-conditional":false,"X-condition-logic":""},"Fax":{"type":"string","description":"Customer's fax number.","X-required-conditional":false,"X-condition-logic":""},"BillFirstName":{"type":"string","description":"Customer firstname for billing profile.\n\n**Conditional:** Required if BillLastName and BillCompany not passed\n","X-required-conditional":true,"X-condition-logic":"Required if BillLastName and BillCompany not passed"},"BillMiddleName":{"type":"string","description":"Customer middlename for billing profile.","X-required-conditional":false,"X-condition-logic":""},"BillLastName":{"type":"string","description":"Customer lastname for billing profile.\n\n**Conditional:** Required if BillFirstName and BillCompany not passed\n","X-required-conditional":true,"X-condition-logic":"Required if BillFirstName and BillCompany not passed"},"BillCompany":{"type":"string","description":"Customer company for billing profile.\n\n**Conditional:** Required if BillFirstName and BillLastName not passed\n","X-required-conditional":true,"X-condition-logic":"Required if BillFirstName and BillLastName not passed"},"BillStreet":{"type":"string","description":"Customer street for profile.","X-required-conditional":false,"X-condition-logic":""},"BillStreet2":{"type":"string","description":"Customer street2 for profile.","X-required-conditional":false,"X-condition-logic":""},"BillCity":{"type":"string","description":"Customer city for profile.","X-required-conditional":false,"X-condition-logic":""},"BillState":{"type":"string","description":"Customer state for profile.","X-required-conditional":false,"X-condition-logic":""},"BillZip":{"type":"string","description":"Customer zip for profile.","X-required-conditional":false,"X-condition-logic":""},"BillCountry":{"type":"string","description":"Customer country for profile.","X-required-conditional":false,"X-condition-logic":""},"BillPhone":{"type":"string","description":"Customer phone for profile.","X-required-conditional":false,"X-condition-logic":""},"BillMobile":{"type":"string","description":"Customer mobile for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipFirstName":{"type":"string","description":"Customer firstname for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipMiddleName":{"type":"string","description":"Customer middlename for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipLastName":{"type":"string","description":"Customer lastname for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipCompany":{"type":"string","description":"Customer company for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipStreet":{"type":"string","description":"Customer street for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipStreet2":{"type":"string","description":"Customer street2 for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipCity":{"type":"string","description":"Customer city for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipState":{"type":"string","description":"Customer state for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipZip":{"type":"string","description":"Customer zip for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipCountry":{"type":"string","description":"Customer country for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipPhone":{"type":"string","description":"Customer phone for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipMobile":{"type":"string","description":"Customer mobile for profile.","X-required-conditional":false,"X-condition-logic":""},"ShipEmail":{"type":"string","description":"Customer email for profile.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom01":{"type":"string","description":"Custom field 01.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom02":{"type":"string","description":"Custom field 02.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom03":{"type":"string","description":"Custom field 03.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom04":{"type":"string","description":"Custom field 04.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom05":{"type":"string","description":"Custom field 05.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom06":{"type":"string","description":"Custom field 06.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom07":{"type":"string","description":"Custom field 07.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom08":{"type":"string","description":"Custom field 08.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom09":{"type":"string","description":"Custom field 09.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom10":{"type":"string","description":"Custom field 10.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom11":{"type":"string","description":"Custom field 11.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom12":{"type":"string","description":"Custom field 12.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom13":{"type":"string","description":"Custom field 13.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom14":{"type":"string","description":"Custom field 14.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom15":{"type":"string","description":"Custom field 15.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom16":{"type":"string","description":"Custom field 16.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom17":{"type":"string","description":"Custom field 17.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom18":{"type":"string","description":"Custom field 18.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom19":{"type":"string","description":"Custom field 19.","X-required-conditional":false,"X-condition-logic":""},"CustomerCustom20":{"type":"string","description":"Custom field 20.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","Revision","CustomerId","DefaultPaymentMethodId"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S=success E=error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"Error message if Result is E."}}}}}}}}}}}
```

## Get Customer

> Use this endpoint to retrieve a customer record by its identifier. It is useful for loading the current customer profile before updates, displaying stored account details, or supporting operational and customer-service workflows.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Customer APIs","version":"1.0.0"},"tags":[{"name":"Customer"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/GetCustomer":{"post":{"summary":"Get Customer","description":"Use this endpoint to retrieve a customer record by its identifier. It is useful for loading the current customer profile before updates, displaying stored account details, or supporting operational and customer-service workflows.\n","operationId":"API_048_GetCustomer","tags":["Customer"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"CustomerId":{"type":"string","description":"The ID of the customer to retrieve.","X-required-conditional":false,"X-condition-logic":""},"ShowDeleted":{"type":"boolean","description":"Retrieve deleted items if true.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","CustomerId"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S=success E=error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"Error message if Result is E."},"Revision":{"type":"string","description":"Customer Revision."},"CreatedDate":{"type":"string","description":"Customer CreatedDate."},"CustomerId":{"type":"string","description":"Customer CustomerId."},"CustomerNumber":{"type":"string","description":"Customer CustomerNumber."},"CustomerNotes":{"type":"string","description":"Customer CustomerNotes."},"Email":{"type":"string","description":"Customer Email."},"Fax":{"type":"string","description":"Customer Fax."},"DefaultPaymentMethodId":{"type":"string","description":"Customer DefaultPaymentMethodId."},"BillFirstName":{"type":"string","description":"Customer BillFirstName."},"BillMiddleName":{"type":"string","description":"Customer BillMiddleName."},"BillLastName":{"type":"string","description":"Customer BillLastName."},"BillCompany":{"type":"string","description":"Customer BillCompany."},"BillStreet":{"type":"string","description":"Customer BillStreet."},"BillStreet2":{"type":"string","description":"Customer BillStreet2."},"BillCity":{"type":"string","description":"Customer BillCity."},"BillState":{"type":"string","description":"Customer BillState."},"BillZip":{"type":"string","description":"Customer BillZip."},"BillCountry":{"type":"string","description":"Customer BillCountry."},"BillPhone":{"type":"string","description":"Customer BillPhone."},"BillMobile":{"type":"string","description":"Customer BillMobile."},"ShipFirstName":{"type":"string","description":"Customer ShipFirstName."},"ShipMiddleName":{"type":"string","description":"Customer ShipMiddleName."},"ShipLastName":{"type":"string","description":"Customer ShipLastName."},"ShipCompany":{"type":"string","description":"Customer ShipCompany."},"ShipStreet":{"type":"string","description":"Customer ShipStreet."},"ShipStreet2":{"type":"string","description":"Customer ShipStreet2."},"ShipCity":{"type":"string","description":"Customer ShipCity."},"ShipState":{"type":"string","description":"Customer ShipState."},"ShipZip":{"type":"string","description":"Customer ShipZip."},"ShipCountry":{"type":"string","description":"Customer ShipCountry."},"ShipPhone":{"type":"string","description":"Customer ShipPhone."},"ShipMobile":{"type":"string","description":"Customer ShipMobile."},"ShipEmail":{"type":"string","description":"Customer ShipEmail."},"CustomerCustom01":{"type":"string","description":"Custom field 01."},"CustomerCustom02":{"type":"string","description":"Custom field 02."},"CustomerCustom03":{"type":"string","description":"Custom field 03."},"CustomerCustom04":{"type":"string","description":"Custom field 04."},"CustomerCustom05":{"type":"string","description":"Custom field 05."},"CustomerCustom06":{"type":"string","description":"Custom field 06."},"CustomerCustom07":{"type":"string","description":"Custom field 07."},"CustomerCustom08":{"type":"string","description":"Custom field 08."},"CustomerCustom09":{"type":"string","description":"Custom field 09."},"CustomerCustom10":{"type":"string","description":"Custom field 10."},"CustomerCustom11":{"type":"string","description":"Custom field 11."},"CustomerCustom12":{"type":"string","description":"Custom field 12."},"CustomerCustom13":{"type":"string","description":"Custom field 13."},"CustomerCustom14":{"type":"string","description":"Custom field 14."},"CustomerCustom15":{"type":"string","description":"Custom field 15."},"CustomerCustom16":{"type":"string","description":"Custom field 16."},"CustomerCustom17":{"type":"string","description":"Custom field 17."},"CustomerCustom18":{"type":"string","description":"Custom field 18."},"CustomerCustom19":{"type":"string","description":"Custom field 19."},"CustomerCustom20":{"type":"string","description":"Custom field 20."}}}}}}}}}}}
```

## Delete Customer

> Use this endpoint to delete an existing customer record from the Customer & Recurring API. Use it when a customer relationship should be removed, while accounting for any dependencies such as active schedules or stored payment methods that may need to be addressed first.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Customer APIs","version":"1.0.0"},"tags":[{"name":"Customer"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/DeleteCustomer":{"post":{"summary":"Delete Customer","description":"Use this endpoint to delete an existing customer record from the Customer & Recurring API. Use it when a customer relationship should be removed, while accounting for any dependencies such as active schedules or stored payment methods that may need to be addressed first.\n","operationId":"API_049_DeleteCustomer","tags":["Customer"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"CustomerId":{"type":"string","description":"The ID of the customer to delete.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion","CustomerId"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S=success E=error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"Error message if Result is E."}}}}}}}}}}}
```

## List Customers

> Use this endpoint to return customer records from the Customer & Recurring API. It is useful for administrative views, customer lookup workflows, and background processes that need to page through customer data using the API's listing and pagination model.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Customer APIs","version":"1.0.0"},"tags":[{"name":"Customer"}],"servers":[{"url":"https://api.cardknox.com","description":"Default API host"}],"paths":{"/v2/ListCustomers":{"post":{"summary":"List Customers","description":"Use this endpoint to return customer records from the Customer & Recurring API. It is useful for administrative views, customer lookup workflows, and background processes that need to page through customer data using the API's listing and pagination model.\n","operationId":"API_050_ListCustomers","tags":["Customer"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"},{"in":"header","name":"X-Recurring-Api-Version","required":true,"schema":{"type":"string"},"description":"Include the Customer and Recurring API minor version in the `X-Recurring-Api-Version` request header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SoftwareName":{"type":"string","description":"The name of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"SoftwareVersion":{"type":"string","description":"The version of the software making the request.","X-required-conditional":false,"X-condition-logic":""},"PageSize":{"type":"integer","description":"The maximum number of items to retrieve for this request.","X-required-conditional":false,"X-condition-logic":""},"NextToken":{"type":"string","description":"A token that can be sent in to the following request to get the next set of customers.","X-required-conditional":false,"X-condition-logic":""},"SortOrder":{"type":"string","description":"The list order. Order is determined by customer creation date.","X-required-conditional":false,"X-condition-logic":""},"Filters":{"type":"string","description":"Filters that can be applied to limit the result set. Filters will remove any items that do not contain the string for that filter value. If there are multiple filters applied, the item must match all of them. Available filters: CustomerId CustomerNumber IsDeleted Email BillName BillFirstName BillLastName BillMiddleName BillCompany BillStreet BillStreet2 BillCity BillState BillZip BillCountry BillPhoneNumber BillPhone BillMobile BillFax.","X-required-conditional":false,"X-condition-logic":""}},"required":["SoftwareName","SoftwareVersion"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"Result":{"type":"string","description":"The result of the API call. S=success E=error."},"RefNum":{"type":"string","description":"A unique request ID."},"Error":{"type":"string","description":"Error message if Result is E."},"Customers":{"type":"string","description":"Array of customer objects. See GetCustomer."},"NextToken":{"type":"string","description":"Token for next set of results."}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cardknox.gitbook.io/sola-dev-docs/api-reference/customer-and-recurring-api/customer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
