Query Asset Card List
POST/dana/member/asset/queryAssetCardList.htm
This API is used to get the available asset card list that user has
API Type
DANA Open API
Expected Timeout
3 seconds
SNAP Service Code
-
Accept
application/json
Content Type
application/json
version
string
1 - 8 charactersRequiredAPI version. As per the respective API reference
function
string
1 - 128 charactersRequiredAccording to specifications defined by each business domain
Value:
Value:
dana.member.asset.queryAssetCardListclientId
string
1 - 36 charactersRequiredClient identifier which provided by DANA and used to identify partner and application system
clientSecret
string
1 - 64 charactersRequiredAs a secret key of client. Assigned client secret during registration
reqTime
string
25 charactersRequiredRequest time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
reqMsgId
string
1 - 64 charactersRequiredIdentify an unique system request. Each request will be assigned with a unique identifier (UUID)
reserve
string
1 - 256 charactersReserved for future implementation (Key/Value)
memberId
string
21 charactersRequiredUser identifier or merchant identifier
bindingId
string
32 charactersAsset card bind identifier
enableOnly
string
1 - 5 charactersFlag to determinate user's card status.
The possible values are
The possible values are
true and falseNote
Will be true if user's card was active
contactBizTypeList
array of string
Contact biz type list, refer to ContactBizTypeEnum
TRANSFER_HIS
string
History of transfer transaction
DIRECT_TRANSFER
string
Transfer from virtual bank card
GENERAL_CARD
string
Bank card used for general purpose
DIRECTPAY_CARD
string
Bank card used for direct payment
PAYMENT_CARD
string
Bank card for payment card
CASHOUT_CARD
string
Bank card used for cashout
IMPS_ACCOUNT
string
Bank card used for BCA
INVESTMENT_ACCOUNT
string
Investment account
assetTypeList
array of string
Asset type list, refer to AssetCardTypeEnum
CHECKING_ACCOUNT
string
Checking account
SAVINGS_ACCOUNT
string
User’s savings account
LOAN_ACCOUNT
string
User’s loan account
IMPS_ACCOUNT
string
Immediate payment service account
DEBIT_CARD
string
User’s debit card
CREDIT_CARD
string
User’s credit card
SECURED_CREDIT_CARD
string
Secured credit card
VA_ACCOUNT
string
Virtual account
OTC_ACCOUNT
string
On the counter account
REFUND_ACCOUNT
string
User’s refund account
CREDIT_ACCOUNT
string
User’s credit account
LOAN
string
User’s loan account paylater
MUTUAL_FUNDS_ACCOUNT
string
User’s mutual fund account
INVESTMENT
string
User’s investment account
{
"request": {
"head": {
"version": "2.0",
"function": "dana.member.asset.queryAssetCardList",
"clientId": "305XSM22SG0ASM05",
"clientSecret": "5f2ef097c0f9464a80e4f0f9c9be85a0",
"reqTime": "2001-07-04T12:08:56+07:00",
"reqMsgId": "1234567asdfasdf1123fda",
"reserve": "{}"
},
"body": {
"memberId": "216610000000000000000",
"bindingId": "120300002008840365888",
"enableOnly": "true",
"contactBizTypeList": ["GENERAL_CARD", "PAYMENT_CARD", "CASHOUT_CARD"],
"assetTypeList": ["VA_ACCOUNT"]
}
},
"signature":"signature string"
}
version
string
1 - 8 charactersRequiredAPI version. As per the respective API reference
function
string
1 - 128 charactersRequiredAccording to specifications defined by each business domain
Value:
Value:
dana.member.asset.queryAssetCardListclientId
string
1 - 36 charactersRequiredClient identifier which provided by DANA and used to identify partner and application system
clientSecret
string
1 - 64 charactersRequiredAs a secret key of client. Assigned client secret during registration
respTime
string
25 charactersRequiredResponse time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
reqMsgId
string
1 - 64 charactersRequiredIdentify an unique system request. Each request will be assigned with a unique identifier (UUID)
reserve
string
1 - 256 charactersReserved for future implementation (Key/Value)
resultInfo
json object
RequiredDefine the detail of result information
resultStatus
string
1 charactersRequiredResult status, refer to result code list ResultStatusThe status of the request can be:
•
•
•
Can be added if these 3 statuses are insufficient for business requirements
•
S: Success •
F: Failure •
U: Unknown Can be added if these 3 statuses are insufficient for business requirements
resultCodeId
string
1 - 16 charactersRequiredResult code identifier, refer to result code list ResultCodeId
resultCode
string
1 - 64 charactersRequiredResult code string, refer to ResultCode
resultMsg
string
1 - 256 charactersResult message, refer to result code list ResultMsg
assetCardList
array of json object
Define the detail of asset card list
contactBizType
string
1 - 20 charactersRequiredContact biz type, refer to ContactBizTypeEnum
TRANSFER_HIS
string
History of transfer transaction
DIRECT_TRANSFER
string
Transfer from virtual bank card
GENERAL_CARD
string
Bank card used for general purpose
DIRECTPAY_CARD
string
Bank card used for direct payment
PAYMENT_CARD
string
Bank card for payment card
CASHOUT_CARD
string
Bank card used for cashout
IMPS_ACCOUNT
string
Bank card used for BCA
INVESTMENT_ACCOUNT
string
Investment account
cardIndexNo
string
1 - 20 charactersRequiredCard index number
cardNoLength
string
2 charactersRequiredCard number length based on card index number
maskedCardNo
string
1 - 256 charactersRequiredCard number
assetType
string
1 - 20 charactersRequiredAsset Type, refer to AssetCardTypeEnum
CHECKING_ACCOUNT
string
Checking account
SAVINGS_ACCOUNT
string
User’s savings account
LOAN_ACCOUNT
string
User’s loan account
IMPS_ACCOUNT
string
Immediate payment service account
DEBIT_CARD
string
User’s debit card
CREDIT_CARD
string
User’s credit card
SECURED_CREDIT_CARD
string
Secured credit card
VA_ACCOUNT
string
Virtual account
OTC_ACCOUNT
string
On the counter account
REFUND_ACCOUNT
string
User’s refund account
CREDIT_ACCOUNT
string
User’s credit account
LOAN
string
User’s loan account paylater
MUTUAL_FUNDS_ACCOUNT
string
User’s mutual fund account
INVESTMENT
string
User’s investment account
holderName
json object
RequiredHolder name
firstName
string
1 - 64 charactersRequiredFirst name
lastName
string
1 - 64 charactersRequiredLast name
instLogoUrl
string
Institution logo URL
instId
string
1 - 32 charactersRequiredInstitution identifier
instOfficialName
string
1 - 32 charactersRequiredInstitution official name based on instId
expiryYear
string
4 charactersRequiredExpiry year on some cards, such as debit card, credit card or virtual account
expiryMonth
string
2 charactersRequiredExpiry month on some cards, such as debit card, credit card or virtual account
verified
string
1 - 5 charactersRequiredFlag to determine whether user's card is verified or not. The possible values are true or false
Note
Will be true if status user was verified
For defaultAsset: Will be true if user used default payment and will be false if user doesn't used the default payment
For enableStatus: Will be true if enableOnly was true
For directDebit: Will be true if user used direct debit as a payment
bindingId
string
21 charactersAsset card bind identifier
defaultAsset
string
1 - 5 charactersAsset which used as a default payment for user.The possible values are true or false
enableStatus
string
1 - 5 charactersFlag to determine whether status is enabled or not.The possible values are true or false
directDebit
string
1 - 5 charactersFlag to determine whether payment with direct debit.The possible values are true or false
{
"response": {
"head": {
"version": "2.0",
"function": "dana.member.asset.queryAssetCardList",
"clientId": "2019052801270371642754",
"clientSecret": "5f2ef097c0f9464a80e4f0f9c9be85a0",
"respTime": "2023-10-26T08:27:06+07:00",
"reqMsgId": "195b7b7a39554c03ee3b1c0e890d172f",
"reserve": {}
},
"body": {
"resultInfo": {
"resultStatus": "S",
"resultCodeId": "00000000",
"resultCode": "SUCCESS",
"resultMsg": "success"
},
"assetCardList": [
{
"contactBizType": "CASHOUT_CARD",
"cardIndexNo": "29011540001590354",
"cardNoLength": "17",
"maskedCardNo": "29011540001590354",
"assetType": "VA_ACCOUNT",
"holderName": {
"firstName": "Wahyu",
"lastName": "Setiawan"
},
"instId": "BCAC1ID",
"instOfficialName": "BCA BANK CENTRAL ASIA",
"expiryYear": "9999",
"expiryMonth": "12",
"verified": "false",
"bindingId": "120300002008840365547",
"defaultAsset": "false",
"enableStatus": "true",
"directDebit": "false"
}
]
}
},
"signature": "signature string"
}
| ResultStatus | ResultCodeId | ResultCode | ResultMessage | Solution |
|---|---|---|---|---|
| S | 00000000 | SUCCESS | success | Mark Query Asset Card List process as Success |
| F | 00000004 | PARAM_ILLEGAL | parameter illegal | Mark Query Asset Card List process as Failed. Retry request with proper parameter |
| F | 00000900 | SYSTEM_ERROR | system error | Mark Query Asset Card List process as Failed. Retry request periodically. If error is raising, can contact to DANA to check the process |