Attributes

AttributeData typeDescription
billing_addressobjectSee details. This object can be ignored, as you will always be using the customer's billing (if provided) or shipping address.
checkout_tokenstringThe virtual card token.
createdtimestampTimestamp of when the virtual card was generated.
cvvstringThe virtual card security code.
numberstringThe virtual card number. In sandbox, we can set up this number to your payment gateway for testing.
callback_idstringCan be ignored, for Affirm internal use.
cardholder_namestringCan be ignored, since you will always be using the customer's name. Note that this is not necessarily the billing name associated with the card number on the card networks.
expirationstringA four-digit expiration date in MMYY format.
charge_aristringAn 8-digit Affirm identifier.
{
    "billing_address": {
        "street1": "4519 Rue Levy",
         "street2": "Apt 1",
         "city": "Saint-Laurent",
         "region1_code": "QC",
         "postal_code": "H4R2P9",
             "country": "CAN"
    },
    "checkout_token": "FA0UUFRGOND84S7C",
    "created": "2020-01-24T20:00:50.712662",
    "cvv": "123",
    "number": "4111111111111111",
    "callback_id": "5473686c-1dc4-4153-b9a7-abfccc00ef3a",
    "cardholder_name": "AffirmInc John doe",
    "expiration": "0121",
    "charge_ari": "35PW-YI16"
}