The Token object Preview

Issuing
Tokens
The Token object

Attributes

  • idstring

    Unique identifier for the object.

  • objectstring

    String representing the object’s type. Objects of the same type share the same value.

  • cardstringExpandable

    Card associated with this token.

  • createdtimestamp

    Time at which the object was created. Measured in seconds since the Unix epoch.

  • device_fingerprintnullable string

    The hashed ID derived from the device ID from the card network associated with the token.

  • last4nullable string

    The last four digits of the token.

  • livemodeboolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

  • networkenum

    The token service provider / card network associated with the token.

    Possible enum values
    mastercard

    MasterCard token service provider.

    visa

    Visa token service provider.

  • network_updated_attimestamp

    Time at which the token was last updated by the card network. Measured in seconds since the Unix epoch.

  • statusenum

    The usage state of the token.

    Possible enum values
    active

    Token is provisioned and usable for payments.

    deleted

    Terminal state. Token can no longer be used.

    requested

    Token has been requested to be provisioned, but has not completed the activation process.

    suspended

    Token temporarily cannot be used for payments.

  • wallet_providernullable enum

    The digital wallet for this token, if one was used.

    Possible enum values
    apple_pay

    Apple Pay.

    google_pay

    Google Pay.

    samsung_pay

    Samsung Pay.

The Token object
{
"id": "intok_1MzDbE2eZvKYlo2C26a98MDg",
"object": "issuing.token",
"card": "ic_1MytUz2eZvKYlo2CZCn5fuvZ",
"created": 1682059060,
"network_updated_at": 1682059060,
"livemode": false,
"status": "active",
"last4": "2424",
"token_service_provider": "visa",
"wallet_provider": "apple_pay",
"device_fingerprint": "intd_1MzDbE2eZvKYcp3095svdf"
}