Skip to content

Create Payout Order (/payout/create)

Description

Merchants call this endpoint to initiate a single payout (disbursement) transaction. The platform debits the merchant's available balance and transfers funds directly to the recipient's account (e.g., BKASH e-wallet).


Request Information

  • Endpoint: /payout/create
  • Method: POST
  • Content-Type: application/json; charset=utf-8

HTTP Headers

HeaderRequiredTypeDescription
merchantNoYesStringMerchant ID
signYesStringBase64-encoded RSA digital signature of the request body

Request Body Parameters

ParameterRequiredTypeExampleDescription
timestampYesLong1772880300000Current epoch timestamp in milliseconds
merchantOrderNoYesStringPO202603070001Unique payout order reference generated by merchant
amountYesString220.00Payout amount (maximum 2 decimal places)
payTypeYesStringBKASHPayment disbursement channel; fixed value: BKASH
accountNoYesString01812345678Recipient account number (e.g., BKASH wallet number starting with 01)
accountNameYesStringTanvir AhmedBeneficiary account holder name
notifyUrlYesStringhttps://api.merchant.com/payout/notifyAsynchronous webhook callback URL
mobileNoString01812345678Recipient mobile number
emailNoStringreceiver@example.comRecipient email address
remarkNoStringSalary PayoutCustom remarks (echoed back in callback)

Request Payload Example

json
{
  "timestamp": 1772880300000,
  "merchantOrderNo": "PO202603070001",
  "amount": "220.00",
  "payType": "BKASH",
  "accountNo": "01812345678",
  "accountName": "Tanvir Ahmed",
  "notifyUrl": "https://api.merchant.com/payout/notify",
  "mobile": "01812345678",
  "email": "receiver@example.com",
  "remark": "Salary Payout"
}

Response Parameters

Success Response

json
{
  "code": 1,
  "msg": "ok",
  "data": {
    "merchantNo": "M1639466186292",
    "merchantOrderNo": "PO202603070001",
    "platOrderNo": "876324486452871168",
    "amount": "220.00",
    "fee": "5.00",
    "status": "0"
  }
}

Failure Response

json
{
  "code": 0,
  "msg": "Insufficient balance"
}

Response Fields Description

FieldTypeDescription
codeInteger / StringResponse code: 1 indicates success, 0 indicates failure
msgStringStatus description message
dataObjectTransaction data object
data.merchantNoStringMerchant ID
data.merchantOrderNoStringMerchant order reference number
data.platOrderNoStringPlatform transaction number
data.amountStringPayout amount
data.feeStringDisbursement processing fee
data.statusStringPayout status:
0: Created
1: Processing
2: Failed
3: Succeeded

Bangladesh Payment Gateway API Specifications