The checkout event object

Events are our way of letting you know when something interesting happens during the user journey at checkout. 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.

Attributs

AttributType de donnéesDescription
checkout_tokenstringThe checkout_id token.
événementenumType of events:
  • approved
  • confirmed
  • not_approved
  • opened
  • sent
event_timestampHorodatageThe creation date of that event.
createdHorodatageThe creation date of the checkout.
order_idstringOnly included if merchant passes the value in the checkout object.
webhook_session_idstringOnly included if merchant passes the value in the checkout object or Affirm.js
amount_financedintegerThe total amount financed in cents.
aprintegerThe APR with hundredths precision as an integer; multiply by 1000 to determine the APR with two decimal places.
downpayment_amountintegerThe total loan amount of the down payment in cents.
email_addressstringThe email of the user.
finance_chargeintegerThe total interest expressed in cents.
first_namestringThe first name of the user.
first_payment_dateHorodatageThe loan first payment date.
has_downpaymentbooleanA downpayment flag.
last_namestringThe last name of the user.
number_of_paymentsintegerThe number of installments.
TotalstringTotal loan value at origination in cents.
{
amount_financed=100000&
apr=0.00&
checkout_token=JVIGTPXUKYT7NY4H&
created=2020-01-24T21%3A42%3A23.849774&
downpayment_amount=0&
email_address=joedoe%40123fakestreet.com&
event=confirmed&
event_timestamp=2020-01-24T21%3A42%3A41.110873&
finance_charge=0&
first_name=Joe&
first_payment_date=2020-02-23T23%3A59%3A59Z&
has_downpayment=False&
last_name=Sabou&
number_of_payments=3&
order_id=JKLMO4321&
total=100000
}