Skip to main content
string
A unique identifier for this specific event. This ensures that each event can be tracked and processed individually.
string
Describes the type of event. In this case, it signifies that a new payment method token has been created.
integer
The timestamp when the event was generated, typically in milliseconds since the Unix epoch (January 1, 1970). This value can be used to track when the event occurred.
string
A unique identifier for the specific payment method token that was created.
string
The unique identifier of the customer associated with this payment method token.
string
The type of payment method that was tokenized.
array
The currencies supported by the payment method token.
object
Contains metadata about the payment method that was tokenized. Only the object relevant to the tokenized payment method is included:
  • paymentMethod: The type of payment method that was tokenized. See supported payment methods.
  • cardMetadata: Card details (present only for CARD, APPLE_PAY, and GOOGLE_PAY tokens), containing:
    • brand: The brand of the card (e.g., amex, diners, discover, jcb, mastercard, unionpay, visa, rupay), among others.
    • country: The issuing country of the card.
    • lastFourDigit: The last four digits of the card number.
    • expiryMonth: The expiration month of the card.
    • expiryYear: The expiration year of the card.
    • cardType: The type of card funding (CREDIT, DEBIT, PREPAID, or UNKNOWN).
  • cashAppMetadata: Cash App details (present only for CASH_APP tokens), containing:
    • cashTag: The customer’s Cash App $Cashtag.
object
A collection of key-value pairs that were provided as metadata when the token was first created. These metadata values are echoed back in the response, allowing you to store and retrieve custom information such as context-specific attributes, references, or tags.