PaymentMethodResponse

PaymentMethod response object. Response-specific fields model API serialization details such as nullable fields and expandable references.

  • Unique identifier for the object.

  • The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.

  • PaymentMethodCard

    Properties: 15
  • Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.

    Properties: 4
  • Billing address associated with the PaymentMethod, if one exists.

    Properties: 6
  • Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

  • ID of an existing Customer, if one exists, or the expanded Customer object when expand=customer is requested.

    • ID of an existing Customer, if one exists, or the expanded Customer object when expand=customer is requested.

  • Context in which this payment method is eligible for future reuse.

    values
    • on_session

      The payment method can be reused while the customer is present in the checkout flow.

    • off_session

      The payment method can be reused when the customer is not actively in the checkout flow.

  • Whether this payment method is eligible for future reuse.

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

  • Unix timestamp when refund was created