Create Payout
Integrations
Create Payout
Internal: submit a payout via the active connector for gateway.
Guarded by X-Internal-Secret (account-service is the only caller). Guards in order:
- X-Internal-Secret header check → 403
- Body field validation (gateway/tx_id/attempt/amount/currency) → 400
- Active integration lookup → 409
- payouts_enabled config kill-switch → 409
- SUPPORTS_PAYOUTS class flag → 409
- BridgerPay without webhook_secret (fail-open double-pay guard) → 409 On success, audit row is written in the same session. Returns:
POST
Create Payout
Response
200 - application/json
Successful Response