Receiving a list of saved cards

URL TEST GET https://testepay.homebank.kz/api/cards/:accountId
URL PROD GET https://epay-api.homebank.kz/cards/:accountId

Headers

    Authorization: Bearer dGVzdGNsaWVudDpzZWNyZXQ=

Response

Http status 200

Response Body:

[
    {
        "ID": "6845e5d5-35cc-428e-bd95-e85f78cb59d1",
        "TransactionId": "a4b8c500-ddbf-4475-b512-60cd5a9189f7",
        "MerchantID": "1a8ca610-73eb-4996-a2ef-5ec1d57bf573",
        "CardHash": "ac2d26319b1910692db0e357e88a3d02cd9e7867d72e6d2c6f4f48e61a46201e",
        "CardMask": "4405...2283",
        "PayerName": "TEST",
        "Reference": "034680043232",
        "IntReference": "005224F86969006E",
        "Token": "A5011A20B136418774169BC24030C63B",
        "Terminal": "98458031",
        "CreatedDate": "2020-12-11T15:47:58.828909+06:00",
        "PaymentAvailable": false,
        "AccountID": "testuser1"
    },
    {
        "ID": "a436211c-ede4-479f-a9db-2db2d392e34b",
        "TransactionId": "97bac35c-8bf3-496a-be77-8e9eb449783d",
        "MerchantID": "1a8ca610-73eb-4996-a2ef-5ec1d57bf573",
        "CardHash": "1b2aea5eb284955c4e18c8d6289e5eb59c091199fd5f9861d09dbd26b1862119",
        "CardMask": "4405...3681",
        "PayerName": "TEST",
        "Reference": "101478049099",
        "IntReference": "C5006F368549CC7C",
        "Token": "FBDA466B628544D294750DA9B211D3CC",
        "Terminal": "98458031",
        "CreatedDate": "2021-01-14T10:28:22.418199+06:00",
        "PaymentAvailable": false,
        "AccountID": "testuser1"
    },
    {
        "ID": "73cfea54-984d-48a5-b7d4-5af5473b2361",
        "TransactionId": "73f13bf6-1d3c-4234-9d57-94a0cb64784f",
        "MerchantID": "1a8ca610-73eb-4996-a2ef-5ec1d57bf573",
        "CardHash": "8894abac4bd183781b580a4e814295773a497822eeefdfb130f7c8414842ed32",
        "CardMask": "4405...2817",
        "PayerName": "TEST",
        "Reference": "101481049101",
        "IntReference": "DF9641E3F0AED452",
        "Token": "79DEF615A266413C68F9710315B082AF",
        "Terminal": "98458031",
        "CreatedDate": "2021-01-14T10:51:22.491067+06:00",
        "PaymentAvailable": false,
        "AccountID": "testuser1"
    },
    {
        "ID": "89fe31cb-4e64-4171-ad80-a364108e61e5",
        "TransactionId": "2df0160b-607c-4227-ab70-2f6a93ab828b",
        "MerchantID": "1a8ca610-73eb-4996-a2ef-5ec1d57bf573",
        "CardHash": "6257ce459bc48fa5205c025181da7cf2e7568cb07428b127544e0d4043d92296",
        "CardMask": "4405...1206",
        "PayerName": "TEST",
        "Reference": "101481049104",
        "IntReference": "6A50F85C03040E83",
        "Token": "62D54B1F3B22498FBBBB31CC4A7BAA81",
        "Terminal": "98458031",
        "CreatedDate": "2021-01-14T11:36:20.721898+06:00",
        "PaymentAvailable": false,
        "AccountID": "testuser1"
    },
    {
        "ID": "60bf3ecc-58af-4b1d-b081-b7f3485b1f5c",
        "TransactionId": "5ee29078-e17e-49f0-aba5-3c6ad7953113",
        "MerchantID": "1a8ca610-73eb-4996-a2ef-5ec1d57bf573",
        "CardHash": "f934e44abc31e19441f80ebed5c8e2c2fe3215185919bc50273cbff60d928499",
        "CardMask": "4405...2206",
        "PayerName": "TEST",
        "Reference": "101481049105",
        "IntReference": "3154F37D704BD9F0",
        "Token": "F0BD5BAEC2174BD24E8773975E2EC648",
        "Terminal": "98458031",
        "CreatedDate": "2021-01-14T11:45:29.235698+06:00",
        "PaymentAvailable": false,
        "AccountID": "testuser1"
    }
]

If no saved cards are available with associated accountId:

Response

Http status 200

Responce Body:
```js
{
    "code": 1373,
    "message": "Запись не найдена!"
} 

Error

{
    "code": 100,
    "message": ""
}