The endpoint and http method information used to query the number of active & inactive cards and the maximum number of cards that the relevant account can create are given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/cp/Issuing/CreateCardInquiry |
| Params | Type | Mandatory |
|---|---|---|
| account_number | string | Yes |
| account_type | int | No |
| wallet_number | string | Yes |
| user_number | string | No |
| product_type | int | Yes |
| proudct_code | string | Yes |
| Params | Type |
|---|---|
| status | int |
| code | string |
| message | string |
| payload | object |
| active_card_count | int |
| deactive_card_count | int |
| card_count | int |
| max_active_card_count | int |
| max_paid_card_count | int |
| max_card_count | int |
REQUEST (POST):
{
"account_number": "4893441235",
"account_type": 1,
"wallet_number": "68521841",
"user_number": "",
"product_type": 1,
"product_code": "SANAL"
}
RESPONSE:
{
"status": 0,
"code": null,
"message": null,
"payload": {
"active_card_count": 5,
"deactive_card_count": 0,
"card_count": 5,
"max_active_card_count": 200,
"max_paid_card_count": 0,
"max_card_count": 200
}
}