GET
/
api
/
v1
/
hooks
/
purchase_sample
Purchase sample
curl --request GET \
  --url https://api.kajabi.com/api/v1/hooks/purchase_sample \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "type": "purchases",
    "attributes": {
      "amount_in_cents": 123,
      "payment_type": "<string>",
      "multipay_payments_made": 123,
      "opt_in": true,
      "raw_extra_contact_information": {},
      "currency": "<string>",
      "effective_start_at": "<string>",
      "cardholder_name": "<string>",
      "billing_address_zip": "<string>",
      "deactivated_at": "<string>",
      "deactivation_reason": "<string>",
      "coupon_code": "<string>",
      "source": "<string>",
      "referrer": "<string>",
      "quantity": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "relationships": {
      "customer": {
        "data": {
          "id": "<string>",
          "type": "customers"
        }
      },
      "offers": {
        "data": [
          {
            "id": "<string>",
            "type": "offers"
          }
        ]
      },
      "products": {
        "data": [
          {
            "id": "<string>",
            "type": "offers"
          }
        ]
      }
    }
  }
]

Authorizations

Authorization
string
header
required

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

Response

Success, returns sample webhook payload

id
string
type
enum<string>
Available options:
purchases
attributes
object
relationships
object