admin

Create Payout

Record a manual payout: mark the affiliate's pending commissions paid and bundle them into one AffiliatePayout. The actual money moves off-app (bank / Stripe dashboard); external_reference records where.

Concurrency-safe: the pending rows are locked FOR UPDATE, so a double-submit finds nothing pending on the second pass and 409s instead of double-paying.

post/api/v1/admin/affiliates/{affiliate_id}/payouts

Request

  • Base URL: https://api.nudgelink.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.nudgelink.co/api/v1/admin/affiliates/{affiliate_id}/payouts
  • Auth: HTTP bearer

Path parameters

affiliate_idstring uuid required

Request body

commission_idsstring[] nullable
external_referencestring nullable
notestring nullable

Response

Successful Response

payout_idstring uuid required
affiliate_idstring uuid required
total_amount_usdnumber required
commission_countinteger required
paid_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.