Attributes
Attribute | Data type | Description |
---|---|---|
amount | integer | The original amount financed to the customer in this transaction. The value is non-negative and is represented in the smallest currency unit, such as cents instead of dollars. |
amount_refunded | integer | The amount refunded back to the customer from this transaction. The value may be less than the total amount financed if a partial refund was issued. The value is non-negative and is represented in the smallest currency unit, such as cents instead of dollars. |
authorization_expiration | string | The time when the transaction can no longer be authorized. The value is formatted in RFC 3339 (i.e. 2019-01-01T00:00:00Z). |
checkout_id | string | A unique identifier referencing the Checkout object. It is a 16 alphanumeric character string. |
created | string | The time when the transaction was created. The value is formatted in RFC 3339 (i.e. 2019-01-01T00:00:00Z). |
currency | string | The local currency of the transaction with its being a valid subset of the ISO 4217 currency code. |
events | array | An array of Event objects. |
id | string | A unique identifier representing the transaction. It is either a 12 or 16 alphanumeric character string, depending on if it represents an Affirm loan or a lease. It is equivalent to the checkout_token sent to the user_confirmation_url . |
order_id | string | A unique identifier representing the order the transaction is associated with. A maximum of 128 characters. |
provider_id | string | A unique identifier of the provider that is financing the transaction. - 1 - Affirm - 2 - Katapult |
status | string | The status of the transaction, which may be one of the following: - authorized - auth_expired - captured - confirmed - disputed - dispute_refunded - partially_refunded - refunded - voided |
{
"amount": 6100,
"amount_refunded": 0,
"authorization_expiration": "2019-01-01T00:00:00Z",
"checkout_id": "A1B2C3D4E5F6G7H8",
"created": "2019-01-01T00:00:00Z",
"currency": "USD",
"events": [
{
"created": "2019-01-01T00:00:00Z",
"currency": "USD",
"id": "I9J0K1L2M3N4O5P6",
"transaction_id": "LS-A1B2C3D4E",
"type":"auth"
}
],
"id: "A1B2-C3D4",
"order_id": "JKLM4321",
"provider_id": 1,
"status": "authorized"
}