Creating a Customer

Customer creation at Juspay end is required for your logged-in user journeys as well as for saving cards, link & pay flow and the requirement of customer_id from underlying processors/gateways.

You may follow the steps below whenever a new user registers in your website or App. Juspay will respond with a customer ID that you can persist in your database. Pass this customer ID in the Order API at the time of payment creation to ensure proper linking of orders/payments belonging to a customer.

Note

If merchants choose not to call the Juspay Customer API, the Customer ID can be implicitly created during create order with payments APIs. Please ensure the following,

  • Include all required customer-related parameters in the create order with payments API request.

  • Juspay internal enablement is necessary for implicit customer creation. Please contact the Juspay team for this enablement.

Step 1.1.
Call Get Customers API
Step 1.2.
Call Create Customers API
Last updated 1 year ago