ReferenceCustomers
Retrieve a customer
Returns the same shape as an item in the list response.
Authorization
apiKey AuthorizationBearer <token>
A Hashira API key.
In: header
Path Parameters
customerId*string
The customer's id.
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "taxId": "string", "email": "string", "phone": "string", "createdAt": "2019-08-24T14:15:22Z"}Create a customer POST
Requires a name plus at least one of `taxId`, `email` or `phone` — a name alone identifies nobody to the payment gateway. That rule is enforced by the request schema and by a database constraint, and a violation reports under `taxId` in the `fields` object.
List prices GET
`limit` defaults to 50. Filter to one product with `productId`. Results are ordered newest first. Pass the previous response's `nextCursor` as `cursor` to page.