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
| Field | Type | Req | Description |
|---|---|---|---|
Idempotency-Key | String | M | Unique per logical create; same key + same body replays 201; conflict → 409 |
Request body
| Field | Type | Req | Description |
|---|---|---|---|
amountMinor | String | M | Positive integer string in minor units |
currency | String | M | Must be an allowed merchant currency |
paymentMethod | String | M | e.g. bkash, nagad, pix |
beneficiaryRef | String | M | Destination wallet / account reference |
merchantOrderRef | String | O | Your payout id (max 128). Unique per merchant + livemode when set. |
metadata | Object | O | Optional key/value bag |
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.