Attributs

AttributType de donnéesDescription
amountintegerThe 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_refundedintegerThe 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_expirationstringThe time when the transaction can no longer be authorized. The value is formatted in RFC 3339.
checkout_idstringA unique identifier referencing the Checkout object.
createdstringThe time when the transaction was created. The value is formatted in RFC 3339.
currencystringThe local currency of the transaction with its being a valid subset of the ISO 4217 currency code.
eventsobjetAn array of TransactionEvent objects.

See the TransactionEvents object for details.
idstringA unique identifier representing the transaction.
order_idstringIdentifies the order within the merchant's order management system that this transaction corresponds to.
provider_idintegerA unique identifier of the provider that is financing the transaction.
remove_taxbooleanA boolean denoting if tax was paid by the provider (Affirm, LTO). Used by platform integrations to remove tax.

This parameter is for only applicable for Affirm Connect.
statusstringThe status of the transaction.
tokenstringA JWT signing the JSON response; if PII is included in the response this is also encrypted.
{
    "amount": 50000,
    "amount_refunded": 0,
    "authorization_expiration": "2021-07-28T19:05:34Z",
    "checkout_id": "FOD1L33PH7RUAE6Z",
    "created": "2021-06-28T19:05:00Z",
    "currency": "USD",
    "events": [
        {
            "amount": 50000, 
            "created": "2021-06-28T19:05:34Z"
            "currency": "USD",
            "fee":0,
            "fee_refunded":0,
            "id": "WDJN3ETDMKGIZJIY",
            "reference_id":"YHYYWRN31EDG931N",
            "type": "auth",
              "metadata":{}
            "token":"string"
            
        }
    ],
    "id": "V55Z-229C"
    "order_id": "ABC123",
    "provider_id": 1,   
    "remove_tax": false,
    "status": "authorized",  
    "authorization_expiration": "2021-07-28T19:05:34Z",
    "token":"string"
}