v1
latestOpenAPI 3.0.32026-07-26208618579.9 KBVisa Click2Pay Enrol and Manage
Get Cardholder by Cardholder ID from C2P
Send a request to this endpoint to retrieve a cardholder’s details from their C2P account.
post/v1/click2pay/VISA/customer/{customerId}
Path parameters
customerIdstring biginteger required
The customer id of which customer you want to get.
Query parameters
auditUserstring required
The audit user to log the request.
Request body
Example request
{
"customerBID": "123456"
}Response
Successful Get
Example response
{
"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"
},
"status": "ACTIVE",
"nameOnCard": "John Doe",
"billingAddress": {
"country": "USA"
}
}
]
}