Description (Show Account)
Show the selected bank account. (GET)
End Point
https://api.yedpay.com/v1/accounts/{{bank_account_id}}
Variable
# | Name | Type | Description |
---|---|---|---|
1 | bank_account_id | String | Bank Account's ID |
Request Header
# | Key | Value | Description |
---|---|---|---|
1 | Authorization | Bearer {{access_token}} | Login Token |
Body
# | Name | Type | Description |
---|
Response
# | Name | Type | Description |
---|---|---|---|
1 | success | Boolean | Show selected bank account's Information Success or Fail |
2 | data | Array | Include selected bank account's Information (id, company_id, name etc..) |
Success Response - data
# | Name | Type | Description |
---|---|---|---|
1 | id | String | Id of the Bank Account |
2 | company_id | String | Id of the Company |
3 | name | String | Name of Bank |
4 | holder | String | Holder of the Bank Account |
5 | currency | String | Currency of the Bank Account |
6 | code | String | Code of the Bank Account |
7 | branch | String | Branch of the Bank Account |
8 | number | String | Number of the Bank Account |
9 | is_default | Boolean | Whether this Account is Default Bank Account |
10 | created_at | String | DateTime of this Account was created "YYYY-mm-dd h:i:s" |
11 | updated_at | String | Last modification DateTime of this Account "YYYY-mm-dd h:i:s" |
Example Success Response
{ "success": true, "data": [ { "id": "6RrNyowb", "company_id": "1Oo8arkR", "name": "xxxx", "holder": "xxx", "currency": "HKD", "code": "xxx", "branch": "xxx", "number": "xxxxxxxxxx", "is_default": true, "created_at": "2018-03-06 13:38:48", "updated_at": "2018-03-08 14:09:58" } ] }
Example Error Response
{ "success": false, "message": "Unauthenticated.", "status": 500 }
v1.61.15-20230523 © The Payment Cards Group Limited. All rights reserved.