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.
Attributes
Attribute | Data type | Description |
---|---|---|
event | string | prequal_decision |
decision | string | - approved - denied |
event_timestamp | timestamp | UTC (YYYY-MM-DDTHH:MM:SS:SSSSSS) |
created | timestamp | UTC (YYYY-MM-DDTHH:MM:SS:SSSSSS) |
expiration | timestamp | UTC (YYYY-MM-DDTHH:MM:SS:SSSSSS) |
first_name | string | The customer’s first name |
last_name | string | The customer’s last name |
email_address | string | The customer’s email address |
approved_amount | integer | The total amount the customer qualifies for the entire store. The format is integer USD cents (“$163.81” = 16381) |
terms | array | An array of terms objects |
webhook_session_id | string | *(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"
}