Aby pobrać informację o profilu kartowym, należy wysłać zapytanie GET, na adres:
https://api.axepta.pl/v1/merchant/{merchantId}/profile/id/{paymentProfileId}
gdzie:
merchantId- identyfikator klienta.paymentProfileId- identyfikator profilu kartowego,
Treść odpowiedzi
{
"status": "SUCCESS",
"data": {
"paymentProfile": {
"id": "addcabf2-5229-4d70-a175-67f7fc5728d1",
"firstName": "Jan",
"lastName": "Kowalski",
"maskedNumber": "411111****1111",
"month": "12",
"year": "2029",
"organization": "MASTERCARD",
"isActive": 1,
"profile": "RECURRING"
},
"qtt": "GHb"
}
}