provider POST /v1/payment_method_domains
@utdk/stripe /v1/payment_method_domains
Create a payment method domain
<p>Creates a payment method domain.</p>

Try it

Authentication
Configure credentials for Stripe API
postpaymentmethoddomains
POST/v1/payment_method_domains
<p>Creates a payment method domain.</p>

Input

required

The domain name that this payment method domain object represents.

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 or Embedded Checkout.

Specifies which fields in the response should be expanded.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postpaymentmethoddomains()