Accept a CPA offer
Changed onAccept the authenticated partner's CPA offer with the reviewed terms and signed offer token. Public API access requires a partner OAuth token; business API keys are not supported.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The referred business relationship ID.
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Reviewed payment amount in USD.
Signed offer token returned by the partner business response. Requires partner:commission_advance:accept permission to retrieve.
Reviewed CPA terms version.
Example request
{
"acknowledgments": [
"commission_replacement",
"clawback",
"term"
],
"expected_amount_usd": "1079.99",
"offer_token": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"terms_version": "2026-01-01"
}Response
CPA offer accepted
The referred business relationship ID.
Example response
{
"commission_advance": {
"activity_30_day": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"activity_60_day": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"annual_processing": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"deadline_at": "2026-01-01T12:00:00.000Z",
"estimated_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"processing_target": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"projected_60_day_activity": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"projected_commissions": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"projected_processing_commissions": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"qualified_at": "2026-01-01T12:00:00.000Z",
"recovery_threshold": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"status": "accepted",
"terms_version": "2026-01-01"
},
"id": "coma_xxxxxxxxxxxxxx"
}Changes
- warning
added the new
withdrawnenum value to thecommission_advance/statusresponse property for the response status - info
added the required property
commission_advance/activity_30_dayto the response with the status - info
added the required property
commission_advance/estimated_amountto the response with the status
- warning