Description (Create Bank Account)

Action to create one bank account related with the company. (POST)

End Point{{company_id}}/accounts


# Name Type Description
1 company_id String Company's ID

Request Header

# Key Value Description
1 Authorization Bearer {{access_token}} Login Token


# Name Type Description
1 code Integer Bank account's code
2 branch Integer Bank account's branch
3 number Integer Bank account's number
4 currency String (HKD) Bank account's currency
5 name String Bank account's name
6 holder String Bank account's Holder Name in Upper Case
7 is_default Boolean Default Bank Account


# Name Type Description
1 success Boolean Create Company Success or Fail
2 message String Create resource Success or Fail

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": "2017-09-01 17:10:51",
                    "updated_at": "2017-09-01 17:10:51"

Example Error Response

                "success": false,
                "message": "Unauthenticated.",
                "status": 500

v1.36.0-20200706 © The Payment Cards Group Limited. All rights reserved.