Cashback Rules

Pay Out Cashback

Changed on

Pays out cashback on demand from the authenticated platform's available USD balance to its direct subaccounts. Covers completed, unpaid card transactions created before the request, each under its latest matching rule, which must be funded by the authenticated platform. Filters combine, and an empty body includes every eligible transaction. Payouts process in the background and amounts are calculated then, so the response confirms queuing, not payment. If a payout fails for insufficient funds, add USD to the platform's balance. Requires payout:transfer_funds. Supports Idempotency-Key, and overlapping requests cannot pay the same card transaction twice.

post/cashback_rules/payout

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Idempotency-Key, string

Client-generated key for replaying the same request safely for 24 hours.

Request body

object required
account_id, string nullable

Pay only this direct subaccount.

cashback_rule_id, string nullable

Pay only transactions whose winning cashback rule has this ID and is funded by the authenticated platform.

transaction_id, string nullable

Pay only this card transaction belonging to a direct subaccount.

Example request

{
  "transaction_id": "citx_xxxxxxxxxxxxxx"
}

Response

queue rejected the request

CashbackPayout required
account_id, string nullable

Subaccount filter from the request, prefixed biz_. Omitted when not supplied.

cashback_rule_id, string nullable

Cashback rule filter from the request, prefixed cicbr_. Omitted when not supplied.

status, 'processing' | 'failed' required

Request status. processing means background processing was queued, not that payment completed. failed, returned with HTTP 200, means the queue rejected the request. Subsequent transaction failures retry automatically.

transaction_id, string nullable

Card transaction filter from the request, prefixed citx_. Omitted when not supplied.

Example response

{
  "status": "failed",
  "transaction_id": "citx_xxxxxxxxxxxxxx"
}

Changes