---
title: "Create a payment method domain"
method: POST
path: "/v1/payment_method_domains"
---

# Create a payment method domain

`POST /v1/payment_method_domains`

## Request

- Base URL: `https://api.stripe.com`
- URL: `https://api.stripe.com/v1/payment_method_domains`
- Auth: one of:
  - HTTP basic
  - HTTP bearer

Creates a payment method domain.

## Response `200`

Successful response.

- PaymentMethodDomain: A payment method domain represents a web domain that you have registered with Stripe. Stripe Elements use registered payment method domains to control where certain payment methods are shown. Related guide: [Payment method domains](https://docs.stripe.com/payments/payment-methods/pmd-registration).
  - `amazon_pay` PaymentMethodDomainResourcePaymentMethodStatus, required: Indicates the status of a specific payment method on a payment method domain.
    - `status` 'active' | 'inactive', required: The status of the payment method on the domain.
    - `status_details` PaymentMethodDomainResourcePaymentMethodStatusDetails: Contains additional details about the status of a payment method for a specific payment method domain.
      - `error_message` string, required: The error message associated with the status of the payment method on the domain.
  - `apple_pay` PaymentMethodDomainResourcePaymentMethodStatus, required: Indicates the status of a specific payment method on a payment method domain.
    - `status` 'active' | 'inactive', required: The status of the payment method on the domain.
    - `status_details` PaymentMethodDomainResourcePaymentMethodStatusDetails: Contains additional details about the status of a payment method for a specific payment method domain.
      - `error_message` string, required: The error message associated with the status of the payment method on the domain.
  - `created` integer, required: Time at which the object was created. Measured in seconds since the Unix epoch.
  - `domain_name` string, required: The domain name that this payment method domain object represents.
  - `enabled` boolean, required: 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.
  - `google_pay` PaymentMethodDomainResourcePaymentMethodStatus, required: Indicates the status of a specific payment method on a payment method domain.
    - `status` 'active' | 'inactive', required: The status of the payment method on the domain.
    - `status_details` PaymentMethodDomainResourcePaymentMethodStatusDetails: Contains additional details about the status of a payment method for a specific payment method domain.
      - `error_message` string, required: The error message associated with the status of the payment method on the domain.
  - `id` string, required: Unique identifier for the object.
  - `klarna` PaymentMethodDomainResourcePaymentMethodStatus, required: Indicates the status of a specific payment method on a payment method domain.
    - `status` 'active' | 'inactive', required: The status of the payment method on the domain.
    - `status_details` PaymentMethodDomainResourcePaymentMethodStatusDetails: Contains additional details about the status of a payment method for a specific payment method domain.
      - `error_message` string, required: The error message associated with the status of the payment method on the domain.
  - `link` PaymentMethodDomainResourcePaymentMethodStatus, required: Indicates the status of a specific payment method on a payment method domain.
    - `status` 'active' | 'inactive', required: The status of the payment method on the domain.
    - `status_details` PaymentMethodDomainResourcePaymentMethodStatusDetails: Contains additional details about the status of a payment method for a specific payment method domain.
      - `error_message` string, required: The error message associated with the status of the payment method on the domain.
  - `livemode` boolean, required: If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
  - `object` 'payment_method_domain', required: String representing the object's type. Objects of the same type share the same value.
  - `paypal` PaymentMethodDomainResourcePaymentMethodStatus, required: Indicates the status of a specific payment method on a payment method domain.
    - `status` 'active' | 'inactive', required: The status of the payment method on the domain.
    - `status_details` PaymentMethodDomainResourcePaymentMethodStatusDetails: Contains additional details about the status of a payment method for a specific payment method domain.
      - `error_message` string, required: The error message associated with the status of the payment method on the domain.

## Other responses

- `default`: Error response.

## Changes

> 19 revisions in range; 7 not diffed, 2 could not be searched.

- **2026-07-01** `e24a26de4188`: 3 breaking
  - removed the required property `error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/application_fee/anyOf[subschema #2: PlatformFee]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #6: Dispute]/payment_method_details/card/network` from the response with the `default` status
  - removed the required property `error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #6: Dispute]/payment_method_details/card/network` from the response with the `default` status
  - removed the required property `error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/failure_balance_transaction/anyOf[subschema #2: BalanceTransaction]/source/anyOf[subschema #6: Dispute]/payment_method_details/card/network` from the response with the `default` status
  - …this revision’s changelog is incomplete

[Operation history](https://skmtc.dev/stainless-api/apis/stripe-api/changes/v1/payment_method_domains/post.md)

---

[API](https://skmtc.dev/stainless-api/apis/stripe-api.md) · [All operations](https://skmtc.dev/stainless-api/apis/stripe-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stainless-api/apis/stripe-api/revisions/7cff4cc46d06?raw)
