The PaymentMethodDomain object 

Payment Methods
Payment Method Domains
The PaymentMethodDomain object

Attributes

  • idstring

    Unique identifier for the object.

  • domain_namestring

    The domain name that this payment method domain object represents.

  • enabledboolean

    Whether this payment method domain is enabled. If the domain is not enabled, payment methods that require a payment method domain will not appear in Elements.

More attributes

  • objectstring

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

  • amazon_payobject

    The status of Amazon Pay’s eligibility on the domain.

    • amazon_pay.statusenum

      The status of the payment method on the domain.

      Possible enum values
      active

      The payment method is eligible for use on this domain. To display this payment method on the domain, make sure it’s also enabled in your Stripe account. Learn more about payment methods.

      inactive

      The payment method isn’t eligible for use on this domain.

    • amazon_pay.status_detailsnullable object

      Additional details about the status of the payment method on the domain.

      • amazon_pay.status_details.error_messagestring

        The error message associated with the status of the payment method on the domain.

  • apple_payobject

    The status of Apple Pay’s eligibility on the domain.

    • apple_pay.statusenum

      The status of the payment method on the domain.

      Possible enum values
      active

      The payment method is eligible for use on this domain. To display this payment method on the domain, make sure it’s also enabled in your Stripe account. Learn more about payment methods.

      inactive

      The payment method isn’t eligible for use on this domain.

    • apple_pay.status_detailsnullable object

      Additional details about the status of the payment method on the domain.

      • apple_pay.status_details.error_messagestring

        The error message associated with the status of the payment method on the domain.

  • createdtimestamp

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

  • google_payobject

    The status of Google Pay’s eligibility on the domain.

    • google_pay.statusenum

      The status of the payment method on the domain.

      Possible enum values
      active

      The payment method is eligible for use on this domain. To display this payment method on the domain, make sure it’s also enabled in your Stripe account. Learn more about payment methods.

      inactive

      The payment method isn’t eligible for use on this domain.

    • google_pay.status_detailsnullable object

      Additional details about the status of the payment method on the domain.

      • google_pay.status_details.error_messagestring

        The error message associated with the status of the payment method on the domain.

  • klarnaobject

    The status of Klarna’s eligibility on the domain.

    • klarna.statusenum

      The status of the payment method on the domain.

      Possible enum values
      active

      The payment method is eligible for use on this domain. To display this payment method on the domain, make sure it’s also enabled in your Stripe account. Learn more about payment methods.

      inactive

      The payment method isn’t eligible for use on this domain.

    • klarna.status_detailsnullable object

      Additional details about the status of the payment method on the domain.

      • klarna.status_details.error_messagestring

        The error message associated with the status of the payment method on the domain.

  • linkobject

    The status of Link’s eligibility on the domain.

    • link.statusenum

      The status of the payment method on the domain.

      Possible enum values
      active

      The payment method is eligible for use on this domain. To display this payment method on the domain, make sure it’s also enabled in your Stripe account. Learn more about payment methods.

      inactive

      The payment method isn’t eligible for use on this domain.

    • link.status_detailsnullable object

      Additional details about the status of the payment method on the domain.

      • link.status_details.error_messagestring

        The error message associated with the status of the payment method on the domain.

  • livemodeboolean

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

  • paypalobject

    The status of PayPal’s eligibility on the domain.

    • paypal.statusenum

      The status of the payment method on the domain.

      Possible enum values
      active

      The payment method is eligible for use on this domain. To display this payment method on the domain, make sure it’s also enabled in your Stripe account. Learn more about payment methods.

      inactive

      The payment method isn’t eligible for use on this domain.

    • paypal.status_detailsnullable object

      Additional details about the status of the payment method on the domain.

      • paypal.status_details.error_messagestring

        The error message associated with the status of the payment method on the domain.

The PaymentMethodDomain object
{
"id": "pmd_1Nnrer2eZvKYlo2Cips79tWl",
"object": "payment_method_domain",
"apple_pay": {
"status": "active"
},
"created": 1694129445,
"domain_name": "example.com",
"enabled": true,
"google_pay": {
"status": "active"
},
"link": {
"status": "active"
},
"livemode": false,
"paypal": {
"status": "active"
}
}