Get User’s All Cards
Endpoint details
Method:
GET
URL: BASE_URL/merchant/userCard/getAllUserCards/?userId=1
Header:
http
Authorization: Bearer < ACCESS_TOKEN >| Query | Type | Required |
|---|---|---|
| userId | string | Yes |
userId kartalari olinishi kerak bo‘lgan foydalanuvchining identifikatori hisoblanadi.
Response body
json
{
"result": {
"cards": [
{
"userId": "646",
"cardId": "ede2c700-7611-4e01-b3af-ca7a0c111e4b",
"owner": "Levi A.",
"cardName": "card name",
"number": "860003******9999",
"balance": 1000000,
"expireDate": "2612",
"bankId": "14",
"vendor": "Uzcard",
"processing": "Uzcard",
"status": {
"sms_info": true,
"is_active": true,
"status_message": "active"
}
}
]
}
}
balancetiyin ko‘rinishida qaytadi.