Customers - Create
Creates a customer object and stores the customer details to be reused for future payments. Incase the customer already exists in the system, this API will respond with the customer details.
Authorizations
Use the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.
Body
The customer details
The identifier for the customer object. If not provided the customer ID will be autogenerated.
The customer's name
The customer's email address
The customer's phone number
An arbitrary string that you can attach to a customer object.
The country code for the customer phone number
Address details
You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Metadata is useful for storing additional, structured information on an object.
Response
The identifier for the customer object
The customer's name
The customer's email address
The customer's phone number
The country code for the customer phone number
An arbitrary string that you can attach to a customer object.
Address details
A timestamp (ISO 8601 code) that determines when the customer was created
You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Metadata is useful for storing additional, structured information on an object.
The identifier for the default payment method.