Skip to main content
Customers represent the people or organizations you transact with through PayGood. Every customer is scoped to a specific merchant. Use entityType: "individual" for a person and entityType: "organization" for a business.

Create an individual customer

Send a POST /merchants/{merchantId}/customers request with firstName, lastName, and email. Include an idempotencyKey to make the request safely retryable.
PayGood returns the created customer record with a unique customerId.

Create an organization customer

For a business customer, set entityType to organization and pass organizationName instead of firstName and lastName.

Retrieve a customer

Fetch a customer record at any time by their customerId using GET /customers/{id}.

List merchant customers

To retrieve all customers linked to your merchant, use GET /merchants/{merchantId}/customers. Results are returned as a paginated list.
The response contains an items array and a page object for cursor-based pagination.
Pass the nextCursor value as a query parameter on your next request to fetch the following page of results.