Дансны жагсаалт
Энэ сервисээр та өөрийн харилцах дансны жагсаалтыг татаж авахад ашиглана.
Сервис дуудах
curl -X POST -H "Content-Type: application/json" -d $PARAMS https://open.capitronbank.mn/v1/account_listОролтын утга
{
token: 'STRING',
custno: 'STRING(11)'
}| Өгөгдөл | Төрөл | Тайлбар |
|---|---|---|
| token | String | User authorization token /v1/authenticate |
| account_no | String(11) | Customer number |
Гаралтын утга
{
status: '',
message: '',
response: {
account_list: {
list: [
{
i_ban: 'STRING'
acnt_no: 'STRING(10)',
brch_no: 'STRING(4)',
cust_no: 'STRING',
cust_name: 'STRING',
cur_code: 'STRING(3)', // MNT, USD, CNY ...
prod_code: 'STRING',
prod_name: 'STRING',
prod_type: 'STRING',
acc_state: 'STRING',
sys_no: 'STRING'
},
// ...
]
}
}
}| Өгөгдөл | Төрөл | Тайлбар |
|---|---|---|
| status | String | Indicates the request's status. ( :success, :failed ) |
| message | Hash | Error messages. Presents only failed requests |
| response | Hash | Response hash. Presents only successfull requests |
| account_list | Hash | Account list hash wrapper |
| list | List | Accounts list |
| i_ban | String | IBAN Account number |
| acnt_no | String(10) | Account number |
| brch_no | String(4) | Branch number |
| cust_no | String | Customer number |
| cust_name | String | Customer name |
| cur_code | String(3) | Currency |
| prod_code | String | Product code |
| prod_name | String | Product name |
| prod_type | String | Product type |
| acc_state | String | Account status |
| sys_no | String | System no |