Create Customer API

This API is responsible for creating a new customer object in Juspay systems. You can invoke this API whenever a new user registers in your App/Website and is triggering the payment process.

Note
  1. Ensure the object_reference_id is unique to the customer.

  2. Customer_id received in response is Juspay’s unique reference to your customer. It is recommended to store this mapping.

  3. This API is required to save the custom payment details to re-use it in the future.

API Endpoints
Sandbox Link
POST
https://api.sandbox.juspay.io/customers
Production Link
POST
https://api.juspay.io/customers
Authorization Header
Headers
Body
200 : Success
400 : Invalid Input data