#tedtanner

1 messages · Page 1 of 1 (latest)

urban sirenBOT
keen hawk
#

You can either expand the payment_method and look at the type or you can expand the latest_charge and examine the payment_method_details

robust iris
#

Thanks! I tried expanding the latest_charge and the payment_method_details doesn't seem to contain anything the would indicate whether it was card presetn or card not present.

#

Here is the relevant part of a response I received

    "card": Object {
        "brand": String("visa"),
        "checks": Object {
            "address_line1_check": Null,
            "address_postal_code_check": Null,
            "cvc_check": Null,
        },
        "country": String("US"),
        "exp_month": Number(12),
        "exp_year": Number(2028),
        "fingerprint": String("HfyeqUmtr4t2dz2l"),
        "funding": String("credit"),
        "installments": Null,
        "last4": String("0077"),
        "mandate": Null,
        "network": String("visa"),
        "network_token": Object {
            "used": Bool(false),
        },
        "three_d_secure": Null,
        "wallet": Null,
    },
    "type": String("card"),
},```
#

I see that is was a card, but how do I know whether it was a card manullay input (card not present, such as an online transaction) or a swipe/tap at a reader (card present)?

keen hawk
#

type card vs type card_present -- those are two separate types

robust iris
#

Oh! Thank you!

keen hawk
#

card is always card not present

robust iris
#

Thanks for your time. That helps a good deal