To retrieve a payer profile for a given cid, send a GET request to:
https://api.axepta.pl/v1/merchant/{merchantId}/profile/cid/{cid}
where:
merchantId- client identifier.cid- payer identifier assigned by the merchant.
Response body
{
"status": "SUCCESS",
"data": {
"paymentProfiles": [
{
"id": "949058db-fe93-4d70-4384-96f7fc5728d2",
"firstName": "Jan",
"lastName": "Kowalski",
"maskedNumber": "411111****1111",
"month": "12",
"year": "2029",
"organization": "MASTERCARD",
"isActive": 1,
"profile": "RECURRING"
},
{
"id": "949058db-ae07-4ce8-4d70-a1ea1f80b7c2",
"firstName": "Jan",
"lastName": "Kowalski",
"maskedNumber": "411111****1111",
"month": "12",
"year": "2029",
"organization": "MASTERCARD",
"isActive": 1,
"profile": "RECURRING"
}
],
"iqZ": "k9I"
}
}