Cashback Rules
Create Cashback Rule
Changed onCreates a future-dated card cashback rule for your direct connected accounts, funded by the authenticated platform account. Creating a rule does not transfer funds; pay cashback out with POST /cashback_rules/payout. Requires payout:transfer_funds. Supports Idempotency-Key for safe retries.
post/cashback_rule
Request
- Base URLhttps://api.whop.com/api/v1
- URLhttps://api.whop.com/api/v1/cashback_rule
- AuthHTTP bearer
Headers
Idempotency-Keystring
Client-generated key for replaying the same request safely for 24 hours.
Request body
Example request
{
"description": "Software cashback",
"expires_at": "2026-01-01T12:00:00.000Z",
"merchant_category_code": "5734",
"merchant_name": "ACME SOFTWARE",
"rate_bps": 500,
"starts_at": "2026-01-01T12:00:00.000Z"
}Response
cashback rule created
Example response
{
"created_at": "2026-01-01T12:00:00.000Z",
"description": "Cloud cashback",
"expires_at": "2026-01-01T12:00:00.000Z",
"funding_account_id": "biz_xxxxxxxxxxxxxx",
"id": "cicbr_xxxxxxxxxxxxxx",
"merchant_category_code": "7372",
"merchant_name": "ACME CLOUD",
"rate_bps": 500,
"scoped_account_id": "biz_xxxxxxxxxxxxxx",
"starts_at": "2026-01-01T12:00:00.000Z",
"updated_at": "2026-01-01T12:00:00.000Z"
}Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became optional - info
the request property
became optional
- breaking