Aby pobrać profil płatnika o przypisanym numerze cid, należy wysłać zapytanie GET, na adres:
https://api.axepta.pl/v1/merchant/{merchantId}/profile/cid/{cid}
gdzie:
merchantId- identyfikator klienta.cid- identyfikator płatnika nadany przez akceptanta,
Treść odpowiedzi
{
"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"
}
}