Create New Payout (Bank account)

Create a new payout by Customer bank account detail

POST /api/payout-bank-account

Headers

Name
Type
Description

X-ApiKey*

String

Merchant API key provide by DCX

X-ApiSecret*

String

Merchant API secret provide by DCX

Request Body

Name
Type
Description

customer_id*

String

Customer short ID.

Example: WlgXhMXPBj

account_number*

String

Bank account number

Example: 12345678

branch_code*

String

Bank account branch number

Example: 014209

amount*

Number

Amount in cent.

Example: 1111

asset*

String

Payout asset.

Example: AUD

name*

String

Title of this payout.

Example: Payout for David

description

String

Payout description.

Example: this is a payment

reference*

String

For customer description. What customer sees.

Example: Hi David! Here is your payment :)

{
  "status": "ok",
  "message": "payout successfully",
  "payout": {
    "status": "scheduled",
    "payout_id": "63ea03feba1289cb3fe751e3",
    "received_time": 1676280833
  }
}

Last updated