getCustomersId
Query a Customer, which is a record that stores data about a particular customer of a Merchant and can be used to associate payment data or with other API features.
In: header
Path Parameters
The ID of this customer.
Query Parameters
Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}
Header Parameters
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
Response Body
application/json
application/json
curl -X GET "https://example.com/customers/t1_cus_67a527f32862c3e51bcce51"{ "response": { "data": [ { "id": "t1_cus_67a527f32862c3e51bcce51", "created": "2025-02-06 16:21:55.1821", "modified": "2025-02-06 16:21:55.1821", "creator": "t1_log_62fd0aa37c3d8ec3a9dcea8", "modifier": "t1_log_62fd0aa37c3d8ec3a9dcea8", "login": "t1_log_6789616d2294ec86ba6076c", "merchant": "t1_mer_64415e924c58c616f8a119b", "first": "John", "middle": "M", "last": "Doe", "company": "Doe Enterprises", "email": "somename@emaol.com", "fax": "+11234567845", "phone": "+11324567845", "country": "USA", "zip": "75001", "state": "TX", "city": "Shelbyville", "address2": "Apt 4B", "address1": "456 Secondary Ave", "inactive": 0, "frozen": 0, "shippingFirst": "John", "shippingMiddle": "M", "shippingLast": "Doe", "shippingCompany": "Doe Shipping Co.", "shippingAddress1": "123 Main st.", "shippingAddress2": "Suite 100", "shippingCity": "Springfield", "shippingState": "TX", "shippingZip": "62701", "shippingCountry": "USA", "shippingPhone": "+11234567845", "shippingFax": "+11234567845", "custom": "Customer's custom data", "authTokenCustomer": "912ae8b2f7e868eb6abb8b1a23b967ff", "entity": "t1_ent_64415e922e9000ef8bf3c1d" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}postCredentials POST
Create a Credential resource that represents an authorization that a given Entity has to connect to an integration to perform a particular action, such as send Transactions to the processor, or board a Merchant with the processor.
deleteCustomersId DELETE
Delete a Customer. A Customer is a record that is used to store data about a particular customer of a Merchant. You can use it to associate payment data to the Customer, or for use with other API features.
