Skip to main content

create Method

Overview

The create method creates a customer record in the payment processor.

Request Fields

FieldTypeRequiredDescription
merchantCustomerIdStringYesYour customer reference
emailStringNoCustomer email
nameStringNoCustomer name

Response Fields

FieldTypeDescription
connectorCustomerIdStringCustomer ID (cus_xxx)
statusCustomerStatusACTIVE

Example

Map<String, Object> request = new HashMap<>();
request.put("merchantCustomerId", "cust_12345");
request.put("email", "[email protected]");

Map<String, Object> response = customerClient.create(request);