The relevant endpoint and https method information for wallet number and card inquiry are given below.
HTTP Method | URL |
---|---|
POST | /card/getAllCardListByFilter |
Params | Type | Mandatory | Description |
---|---|---|---|
page_size | int | Yes | Page Size |
page_index | int | Yes | Page İndex |
order_column | string | Yes | Order Column |
order_by | string | Yes | Order By |
tenant_customer_no | string | No | Tenant Customer No |
wallet_number | string | Yes | Wallet Number |
card_no | string | No | Card No |
card_token | string | No | Card Token |
card_status | int | No | Card Status (10:Active , 20:Passive , 30:Closed , 40:On Hold - in the printing process) |
corelation_id | string | No | Corelation Id |
Params | Type |
---|---|
status | int |
code | string |
message | string |
payload | object |
items | object |
tenantCustomerNo | string |
paycoreCustomerNo | string |
cardNo | string |
cardToken | string |
cardStatusId | int |
walletNumber | string |
productCode | string |
tenatCode | string |
tenantName | string |
cardType | int |
CurrentIndex | int |
pageCount | int |
pageSize | int |
rowCount | int |
orderColumn | int |
orderBy | string |
REQUEST (POST) :
{
"page_size": 1000,
"page_index": 0,
"order_column": "Id",
"order_by": "desc",
"tenant_customer_no": "",
"wallet_number": "b45098b7-b284-40b9-bcc2-afb74e7ed857",
"card_no": "",
"card_token": "",
"card_status": 0,
"corelation_id": ""
}
RESPONSE:
{
"status": 0,
"code": "200",
"message": "Ok",
"payload": {
"items": [
{
"id": "8",
"tenantCustomerNo": "200113328",
"paycoreCustomerNo": "2394925",
"cardNo": "434610pjceeu1964",
"cardToken": null,
"cardStatusId": 10,
"customerStatusId": 10,
"walletNumber": "b45098b7-b284-40b9-bcc2-afb74e7ed857",
"productCode": "SANAL",
"tenantCode": "521521",
"tenantName": null,
"cardType": "Virtual"
}
],
"currentIndex": 0,
"pageCount": 1,
"pageSize": 1000,
"rowCount": 1,
"orderColumn": "Id",
"orderBy": "desc"
}
}