# Customer

This resource represents a customer of your business. The customer can be an individual or a business from whom you will receive payments.

 - [POST /customer](https://docs.glomopay.com/api-documentation/apis/openapi/customer/createcustomer.md): Creates a customer with basic information such as name, contact information, and address. To check complete list of API validations, click [here](/api-documentation/validations#validations-for-creatin
 - [GET /customer](https://docs.glomopay.com/api-documentation/apis/openapi/customer/getcustomers.md): Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first.
 - [GET /customer/{id}](https://docs.glomopay.com/api-documentation/apis/openapi/customer/getcustomerbyid.md): Retrieves details of a Customer.
 - [PATCH /customer/{id}](https://docs.glomopay.com/api-documentation/apis/openapi/customer/updatecustomer.md): Updates the contact details of an existing customer. Only the customer's `email` and `phone` can be updated. This is a partial update — send only the fields you want to change; any field you omit is l
 - [POST /customer/{id}/bank-accounts](https://docs.glomopay.com/api-documentation/apis/openapi/customer/createcustomerbankaccount.md): Registers the bank account a customer sends money from. A customer holds one bank account at a time. Registering another one replaces the existing account, so use this endpoint to correct an account
 - [GET /customer/{id}/bank-accounts](https://docs.glomopay.com/api-documentation/apis/openapi/customer/getcustomerbankaccounts.md): Returns the bank accounts registered against a customer.
 - [Customer](https://docs.glomopay.com/api-documentation/apis/openapi/customer/customer.md): Schema: #/components/schemas/Customer
