Pobranie informacji o profilach na podstawie cid Run in API Explorer
Ask AI
GET
/{merchantId}/profile/cid/{cid}
curl \
--request GET 'https://sandbox.api.imoje.pl/v1/merchant/{merchantId}/profile/cid/{cid}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"paymentProfiles": [
{
"id": "46f095b4-be6f-4ea0-8052-475ac8fbf218",
"year": "2029",
"email": "john.doe@example.com",
"month": "12",
"profile": "ONE_CLICK",
"isActive": 1,
"lastName": "Doe",
"firstName": "John",
"merchantMid": "rgfnb43ub57pry2nuc13",
"maskedNumber": "****1111",
"organization": "MASTERCARD",
"firstTransactionId": "MCC1111111111",
"merchantCustomerId": "yourMerchantCustomerId"
}
]
}