APITaraPay
Merchant Console

Create payout

Create a payout — send funds from your TaraPay balance

POST/v1/payoutsScope: payments:write

Send money from your TaraPay balance to a customer wallet or bank reference. Same merchant API for every market; TaraPay routes the rail. Some rails may take longer to reach a terminal status — poll GET or wait for the payout webhook.

Request headers

FieldTypeReqDescription
Idempotency-KeyStringMUnique per logical create; same key + same body replays 201; conflict → 409

Request body

FieldTypeReqDescription
amountMinorStringMPositive integer string in minor units
currencyStringMMust be an allowed merchant currency
paymentMethodStringMe.g. bkash, nagad, pix
beneficiaryRefStringMDestination wallet / account reference
merchantOrderRefStringOYour payout id (max 128). Unique per merchant + livemode when set.
metadataObjectOOptional key/value bag
Example request
curl -sS -X POST '$BASE/v1/payouts' \
  -H 'Authorization: Bearer $TP_LIVE_KEY' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: brand-wd-2001' \
  -d '{
    "amountMinor": "5000",
    "currency": "BDT",
    "paymentMethod": "bkash",
    "beneficiaryRef": "01XXXXXXXXX",
    "merchantOrderRef": "brand-wd-2001"
  }'
Payouts require sufficient spendable balance (after settlement reserve) and must not be settlement-overdue. Idempotency-Key is required to prevent double-disburse on retries. Mark the payout paid only after a verified success webhook or confirmed GET status.