get https://api.juspay.in/customers/
Retrieves the customer entity for the given identifier.
Returns: Customer Object (click to view)
Field | Type | Description |
---|---|---|
customer_id | String | Customer ID generated by JUSPAY. |
object | String | Object type of entity, in this case it’ll be customer. |
object_reference_id | String | Customer ID defined by you. |
mobile_number | String | Customer’s mobile number. |
date_created | String | Date creation of customer entity. |
last_udpated | String | Last updated date of customer entity. |
email_address | String | Customer’s e-mail address. |
first_name | String | Customer’s first name. |
last_name | String | Customer’s last name. |
mobile_country_codewwwwi | String | Mobile 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 .