Events are our way of letting you know when something interesting happens during the user journey at prequalification. When an interesting event occurs, we create a new event object.


Webhooks can only be configured and approved by Affirm. You can contact Affirm at any time via the support widget.


AttributeData typeDescription
decisionstring- approved
- denied
event_timestamptimestampUTC (YYYY-MM-DDTHH:MM:SS:SSSSSS)
createdtimestampUTC (YYYY-MM-DDTHH:MM:SS:SSSSSS)
expirationtimestampUTC (YYYY-MM-DDTHH:MM:SS:SSSSSS)
first_namestringThe customer’s first name
last_namestringThe customer’s last name
email_addressstringThe customer’s email address
approved_amountintegerThe total amount the customer qualifies for the entire store. The format is integer USD cents (“$163.81” = 16381)
termsarrayAn array of terms objects
webhook_session_idstring*(Optional) Must be enabled by Affirm. Only included if merchant passes the value in Affirm.js
  "first_name": "John",
  "last_name": "Doe",
  "terms": [
      "interest_amount": 16381,
      "created": "2015-03-10T23:06:30Z",
      "apr": "19.55",
      "installment_amount": 172127,
      "prequal_amount": 500000,
      "installment_count": 3,
      "id": "DX394TR2O0T6F3JM"
      "interest_amount": 29415,
      "created": "2015-03-10T23:06:30Z",
      "apr": "19.89",
      "installment_amount": 88236,
      "prequal_amount": 500000,
      "installment_count": 6,
      "id": "D3QF1AOBN0SL6XXT"
      "interest_amount": 56176,
      "created": "2015-03-10T23:06:30Z",
      "apr": "20.12",
      "installment_amount": 46348,
      "prequal_amount": 500000,
      "installment_count": 12,
      "id": "Z7XKQEWUW0FQOMJ2"
  "created": "2019-02-27T22:42:00",
  "decision": "approved",
  "event_timestamp": "2019-02-27T22:42:08.092894",
  "expiration": "2019-02-27T22:42:08.092894",
  "webhook_session_id": null,
  "approved_amount": 500000,
  "email_address": "[email protected]",
  "event": "prequal_decision"