This operation retrieves a customer’s profile details from Click to Pay
{
"customerInformation": {
"email": [
"alex123@hotmail.com"
],
"locale": "en_US",
"phone": [
"16504005555"
],
"lastName": "Miller",
"firstName": "Alex",
"middleName": "Robert",
"countryCode": "USA",
"status": "ACTIVE"
},
"paymentInstruments": [
{
"tokenDetails": {
"tokenReferenceID": "hflasdhflsdkfhoin3y038yfwn",
"tokenRequestorID": "1234567890"
},
"cardId": "<string>",
"status": "ACTIVE",
"nameOnCard": "John Doe",
"billingAddress": {
"country": "USA"
}
}
]
}
The customer id of which customer you want to get
The audit user to log the request
Successful Get
The response is of type object
.
{
"customerInformation": {
"email": [
"alex123@hotmail.com"
],
"locale": "en_US",
"phone": [
"16504005555"
],
"lastName": "Miller",
"firstName": "Alex",
"middleName": "Robert",
"countryCode": "USA",
"status": "ACTIVE"
},
"paymentInstruments": [
{
"tokenDetails": {
"tokenReferenceID": "hflasdhflsdkfhoin3y038yfwn",
"tokenRequestorID": "1234567890"
},
"cardId": "<string>",
"status": "ACTIVE",
"nameOnCard": "John Doe",
"billingAddress": {
"country": "USA"
}
}
]
}