Documentation · Payout Direct

Payout Direct

POST /api/v1/payout/create

Direct is the direct integration mode. The merchant server submits the complete beneficiary data in one request, and the platform immediately creates a formal payout order and submits it to the Provider. The API does not return payment_url.

Direct and Cashier use the same endpoint path. The platform selects the mode from the merchant configuration; callers cannot switch it temporarily through a request field.

Integration requirements

  • Use a payout API key of type merchant_channel that is bound to a fixed channel. Direct mode does not accept a merchant_global key.
  • The fixed API key determines the channel; do not use channel_code to select another channel.
  • bank_code, account_no, account_name, and recipient_email must all be submitted in the same request. return_url is for Cashier only and is not used by Direct.

Create a Direct payout

FieldTypeRequiredDescription
merchant_order_nostringYesMerchant-unique payout order number, up to 128 characters.
amountstringYesDecimal payout amount.
currencystringYesUppercase currency code; it must match the currency authorized for the API key.
bank_codestringYesPlatform bank or e-wallet code, up to 64 characters and identified together with currency.
account_nostringYesBeneficiary account number, up to 128 characters.
account_namestringYesBeneficiary name, up to 128 characters.
recipient_emailstringYesValid email address, up to 254 characters.
notify_urlstringNoAsynchronous notification URL. If omitted, the merchant's default notification URL is used. Production must use HTTPS.

Request example:

{
  "api_key": "<PAYOUT_CHANNEL_API_KEY>",
  "merchant_id": "merchant_1001",
  "merchant_order_no": "OUT202609160002",
  "amount": "100.00",
  "currency": "MYR",
  "bank_code": "MBB",
  "account_no": "1234567890",
  "account_name": "Alice Tan",
  "recipient_email": "alice@example.com",
  "timestamp": "1789516800",
  "nonce": "direct-payout-001",
  "sign": "<HMAC_SHA256_HEX>"
}

Response example:

{
  "code": 0,
  "message": "OK",
  "data": {
    "checkout_mode": "direct",
    "platform_order_no": "W202609160002",
    "merchant_order_no": "OUT202609160002",
    "channel_order_no": "provider_928431",
    "channel_code": "payout_myr_01",
    "amount": "100.00",
    "currency": "MYR",
    "status": "processing",
    "audit_status": "approved",
    "fee_amount": "1.50",
    "net_amount": "101.50",
    "frozen_amount": "101.50",
    "receiver": {
      "type": "bank",
      "bank_code": "MBB",
      "account_mask": "******7890",
      "account_name_masked": "A****",
      "recipient_email_masked": "a***@example.com",
      "payload_format": "aes-256-gcm:v1"
    },
    "created_at": "2026-09-16T15:00:00Z"
  },
  "request_id": "req_01JEXAMPLE"
}

checkout_mode=direct means a formal order has been created; it does not mean the payout succeeded. A successful creation does not return payment_url or expired_at. Use the order query or asynchronous notification as the final result.

Query a Direct payout

POST /api/v1/payout/query

Query the formal order with platform_order_no or merchant_order_no. When the order is processing, you may send sync_provider=true to try to synchronize the latest Provider status; this field participates in signing.

The query response keeps checkout_mode=direct and returns the formal-order status, fees, frozen amount, and masked beneficiary data. After a timeout or indeterminate result, continue querying with the original order number; do not create a duplicate with a new order number. For complete fields and statuses, see shared payout query.

Search docs