Get Customer Bank Acc
GET/v1.1/customer/account/bank
This is used to get an existing customer bank account. This represents an actual bank account in the system. This bank account can be used by the system to do online cash transfers to the actual bank account of the customer.
Request
Query Parameters
bankAccountId integerrequired
Responses
- 200
- 401
OK
- */*
- Schema
- Example (from schema)
- example
Schema
customerBankAccountBean object
bankName string
bankId integer
bankAccountNumber string
bankAccountId integer
branch string
branchId integer
currency string
ibanNumber string
accountType string
Possible values: [0
, 1
, 2
]
0 (Current) | 1 (Saving) | 2 (Investment)
accountName stringnullable
address stringnullable
accountStatus string
Possible values: [1 : Created
, 3 : Deleted
]
bankAccountId numbernullable
status stringrequired
reason stringnullable
rejectCode integer
Find error codes here
{
"customerBankAccountBean": {
"bankName": "string",
"bankId": 0,
"bankAccountNumber": "string",
"bankAccountId": 0,
"branch": "string",
"branchId": 0,
"currency": "string",
"ibanNumber": "string",
"accountType": "0",
"accountName": "string",
"address": "string",
"accountStatus": "1 : Created "
},
"bankAccountId": 0,
"status": "string",
"reason": "string",
"rejectCode": 0
}
{
"customerBankAccountBean": {
"bankName": "OTHER EXPENSES",
"bankId": 0,
"bankAccountNumber": "111",
"bankAccountId": 7837,
"branch": "MAIN-SINGA",
"branchId": 1,
"currency": "USD",
"ibanNumber": "211",
"accountType": "1",
"accountName": null,
"address": null
},
"status": "SUCCESS",
"reason": null,
"rejectCode": 0,
"bankAccountId": null
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
timestamp string
status string
error string
message string
path string
rejectCode string
{
"timestamp": "string",
"status": "string",
"error": "string",
"message": "string",
"path": "string",
"rejectCode": "string"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.1/customer/account/bank",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.1/customer/account/bank",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?