Skip to main content
POST
Examine Earnings

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Body

application/json
event
string
required

Trigger event. Currently supported: customer.order.paid or order.paid.

Example:

"customer.order.paid"

customer_identification
object
required

Discriminated union identifying who is being evaluated.

customer_order_paid
object

Event-specific payload for customer.order.paid containing context for rule evaluation.

Response

Successful dry-run estimation.

event
string

The trigger event that was examined.

memberships
object[]

List of earning opportunities per active membership.

object
string
Example:

"earnings_examine_result"

Last modified on May 19, 2026