Skip to main content
DELETE
/
send
/
bank_accounts
/
{id}
Delete a bank account
curl --request DELETE \
  --url https://staging-api.chip-in.asia/api/send/bank_accounts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'checksum: <checksum>' \
  --header 'epoch: <epoch>'
{
  "id": 84,
  "status": "verified",
  "account_number": "157380112229",
  "bank_code": "MBBEMYKL",
  "group_id": null,
  "name": "Ahmad Razali",
  "reference": "VENDOR-EMP-001",
  "created_at": "2023-07-20T08:59:10.766Z",
  "is_debiting_account": false,
  "is_crediting_account": false,
  "updated_at": "2023-07-20T10:34:00.541Z",
  "deleted_at": null,
  "rejection_reason": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

epoch
integer<int64>
required

Unix epoch timestamp Unix timestamp (seconds).

Example:

1619740800

checksum
string
required

Refer to checksum calculation

Path Parameters

id
integer<int64>
required
Example:

84

Response

Successful response

A recipient bank account registered for payouts.

account_number
string
required

The length depends on recipient bank

Example:

157380112222

bank_code
enum<string>
required
  • ACDBMYK2: AEON Bank (M) Berhad
  • PHBMMYKL: Affin Bank Berhad
  • AGOBMYKL: Agrobank
  • RJHIMYKL: Al-Rajhi
  • MFBBMYKL: Alliance Bank Malaysia Berhad
  • ARBKMYKL: Ambank Malaysia Berhad
  • BIMBMYKL: Bank Islam Malaysia Berhad
  • BKRMMYKL: Bank Kerjasama Rakyat Malaysia Berhad
  • BMMBMYKL: Bank Muamalat Malaysia Bhd
  • BOFAMY2X: Bank of America (M) Berhad
  • BKCHMYKL: Bank of China (M) Berhad
  • BOTKMYKX: Bank of Tokyo-Mitsubishi UFJ (M) Berhad
  • BSNAMYK1: Bank Simpanan Nasional Berhad
  • BNPAMYKL: BNP Paribas Malaysia Berhad
  • PCBCMYKL: China Construction Bank (M) Berhad
  • CIBBMYKL: CIMB Bank Berhad
  • DEUTMYKL: Deutsche Bank (Malaysia) Berhad
  • FNXSMYNB: Finexus Cards Sdn. Bhd.
  • GXSPMYKL: GX Bank Berhad
  • HLBBMYKL: Hong Leong Bank Berhad
  • HBMBMYKL: HSBC Bank Malaysia Berhad
  • ICBKMYKL: Industrial and Commercial Bank of China (M) Berhad
  • CHASMYKX: JP Morgan Chase Bank Berhad
  • KFHOMYKL: Kuwait Finance House
  • MBBEMYKL: Maybank Berhad
  • AFBQMYKL: MBSB BANK BERHAD
  • MHCBMYKA: Mizuho Bank (Malaysia) Berhad
  • OCBCMYKL: OCBC Bank Berhad
  • PBBEMYKL: Public Bank Berhad
  • RHBBMYKL: RHB Bank Berhad
  • SCBLMYKX: Standard Chartered Bank Malaysia Berhad
  • SMBCMYKL: Sumitomo Mitsui Banking Corporation (M) Berhad
  • TNGDMYNB: Touch 'n Go eWallet
  • UOVBMYKL: United Overseas Bank Berhad (UOB)
Available options:
PHBMMYKL,
AIBBMYKL,
BPMBMYKL,
MFBBMYKL,
ALSRMYK1,
RJHIMYKL,
ARBKMYKL,
AISLMYKL,
BIMBMYKL,
BKRMMYKL,
BMMBMYKL,
BSNAMYK1,
CIBBMYKL,
CTBBMYKL,
HLBBMYKL,
HLIBMYKL,
HBMBMYKL,
HMABMYKL,
KFHOMYKL,
MBBEMYKL,
MBISMYKL,
OCBCMYKL,
OABBMYKL,
PBBEMYKL,
PIBEMYK1,
RHBBMYKL,
RHBAMYKL,
SCBLMYKX,
UOVBMYKL,
AFBQMYKL,
CHASMYKX
Example:

"MBBEMYKL"

name
string
required
Required string length: 1 - 65535
Example:

"Ahmad Razali"

id
integer<int64>
read-only

The ID returned in the response must be stored, as it will be required for subsequent operations.

Example:

1

status
enum<string>
  • pending: The bank account is awaiting verification.
  • verified: The bank account has been verified as valid.
  • rejected: The bank account is invalid.
Available options:
pending,
verified,
rejected
Example:

"verified"

group_id
integer<int64> | null
Example:

null

reference
string

Unique value used to prevent duplicate submissions.

Required string length: 1 - 65535
Example:

"VENDOR-EMP-001"

created_at
string<date-time>
read-only

Object creation time in UTC.

is_debiting_account
boolean
read-only
Example:

false

is_crediting_account
boolean
read-only
Example:

false

updated_at
string<date-time>
read-only

Object updated time in UTC.

deleted_at
string<date-time>
read-only

Object deletion time in UTC.

rejection_reason
string | null
read-only
Maximum string length: 65535
Example:

null