Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Returns sample webhook payload for the purchase
event:
[
{
"id": "0",
"type": "purchases",
"attributes": {
"amount_in_cents": 1000,
"payment_type": "single",
"multipay_payments_made": null,
"opt_in": false,
"raw_extra_contact_information": {},
"currency": "USD",
"effective_start_at": null,
"cardholder_name": null,
"billing_address_zip": null,
"deactivated_at": null,
"deactivation_reason": null,
"coupon_code": null,
"source": null,
"referrer": null,
"quantity": 1,
"created_at": "2025-07-31T16:59:27.580Z",
"updated_at": "2025-07-31T16:59:27.580Z"
},
"relationships": {
"customer": {
"data": {
"id": "0",
"type": "customers"
}
},
"offer": {
"data": {
"id": "0",
"type": "offers"
}
},
"products": {
"data": []
}
}
},
{
"id": "0",
"type": "offers",
"attributes": {
"title": "Kajabi Test Offer",
"description": null,
"internal_title": null,
"currency": "USD",
"price_in_cents": 1000,
"payment_type": "single",
"token": "n8NtoHUZ",
"image_url": null,
"payment_method": "stripe_and_paypal",
"price_description": "$10.00 USD",
"checkout_url": "https://bill-heaton.kajabi-products.test/offers/n8NtoHUZ",
"recurring_offer": false,
"subscription": false,
"one_time": true,
"single": true,
"free": false
},
"relationships": {
"site": {
"data": {
"id": "2",
"type": "sites"
}
},
"products": {
"data": []
},
"forms": {
"data": []
}
}
},
{
"id": "0",
"type": "customers",
"attributes": {
"name": "John Doe",
"email": "john.doe@example.com",
"avatar": null,
"external_user_id": null,
"public_bio": null,
"public_location": null,
"public_website": null,
"socials": null,
"net_revenue": "0.0",
"sign_in_count": 0,
"last_request_at": null,
"bounced_at": null,
"created_at": "2025-07-31T16:59:27.552Z",
"updated_at": "2025-07-31T16:59:27.552Z"
},
"links": {
"contact": "https://www.kajabi.test/api/v1/contacts/0"
},
"relationships": {
"site": {
"data": {
"id": "2",
"type": "sites"
}
},
"contact": {
"data": {
"id": "0",
"type": "contacts"
}
},
"offers": {
"data": [],
"links": {
"self": "https://www.kajabi.test/api/v1/customers/0/relationships/offers"
}
},
"products": {
"data": []
}
}
}
]
The actual payloads are sent to the target_url
as a POST request with the following JSON body:
{
"id": "hash_id",
"event": "purchase",
"payload": [],
}
The payload
array is the sample response above
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.