Hey! These docs are for version 3.2, which is no longer officially supported. Click here for the latest version, 1.0!

Get Customer

Retrieves the customer entity for the given identifier.

  Returns:   Customer Object     (click to view)
FieldTypeDescription
customer_idStringCustomer ID generated by JUSPAY.
objectStringObject type of entity, in this case it’ll be customer.
object_reference_idStringCustomer ID defined by you.
mobile_numberStringCustomer’s mobile number.
date_createdStringDate creation of customer entity.
last_udpatedStringLast updated date of customer entity.
email_addressStringCustomer’s e-mail address.
first_nameStringCustomer’s first name.
last_nameStringCustomer’s last name.
mobile_country_codewwwwiStringMobile country code.

juspay: {
    client_auth_token,
    client_auth_token_expiry}

Object
String
String
Object containing two client_auth_token parameters
Token required for SDK integration
Expiration date of  client_auth_token
Note 1:
A "customer_id" should be returned, not "id", as shown in the main document.
Note 2:
A Juspay Object (client_auth_token parameters) is included in the Customer Object response for the Get Customer API only if  options.get_client_auth_token is set to true in the request .
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!