Дансны дэлгэрэнгүй
Энэ сервисээр та өөрийн харилцах дансны дэлгэрэнгүйг татаж авахад ашиглана.
Сервис дуудах
curl -X POST -H "Content-Type: application/json" -d $PARAMS https://open.capitronbank.mn/v1/detail
Parameters
{
token: 'STRING',
account_no: 'STRING(10)'
}
Parameter | Type | Description |
---|---|---|
token | String | User authorization token /v1/authenticate |
account_no | String(10) | Account number |
Response
{
status: '',
message: '',
response: {
account_detail: {
i_ban: 'STRING',
acnt_code: 'STRING',
name: 'STRING',
brch_code: 'STRING(4)',
brch_name: 'STRING',
cust_code: 'STRING'.
cust_name: 'STRING',
prod_code: 'STRING',
prod_name: 'STRING',
current_bal: 'DECIMAL',
avail_bal: 'DECIMAL',
blocked_bal: 'DECIMAL',
cur_code: 'STRING(3)', // MNT, USD, CNY ...
acnt_typename: 'STRING',
acr_int_bal: 'INTEGER',
daily_int: 'INTEGER',
open_date: 'DATE',
closed_date: 'DATE',
status_sys_name: 'STRING'
}
}
}
}
Parameter | Type | Description |
---|---|---|
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_detail | Hash | Account detail hash wrapper |
i_ban | String | IBAN |
acnt_code | String | Account number |
name | String | Account name |
brch_code | String(4) | Branch code |
brch_name | String | Branch name |
cust_code | String | Customer code |
cust_name | String | Customer name |
prod_code | String | Product code |
prod_name | String | Product name |
current_bal | Decimal | Current balance |
avail_bal | Decimal | Available balance |
blocked_bal | Decimal | Blocked balance |
cur_code | String(3) | Currency |
acnt_typename | String | Account type name |
acr_int_bal | String | Acr Int Bal |
daily_int | String | Daily Int |
open_date | Date(YYYY-MM-DDTHH:MI:SS+Z) | Open date ( 2019-06-02T21:43:34+08:00 ) |
closed_date | Date(YYYY-MM-DDTHH:MI:SS+Z) | Closed date ( 2019-06-02T21:43:34+08:00 ) |
status_sys_name | String | Account status |