Sample - Stripe API
GET/v1/payment_method_domains/{payment_method_domain}

Retrieve a payment method domain

Retrieves a registered payment method domain by its identifier. Use expand when you need additional response fields included in the returned domain object. The response includes the domain configuration and statuses for supported payment methods.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
payment_method_domainstringrequired
The unique identifier of the payment method domain to retrieve. Maximum 5000 characters.
expandarray<string>optional
Specifies response fields to expand. Each expansion value must not exceed 5000 characters.

2 status codes
200Returns the payment method domain, including its identifier, domain name, enabled state, creation time, live-mode state, and supported payment-method statuses.
amazon_payobjectrequired
Indicates the status of a specific payment method on a payment method domain.
apple_payobjectrequired
Indicates the status of a specific payment method on a payment method domain.
createdintegerrequired
Time at which the object was created. Measured in seconds since the Unix epoch.
domain_namestringrequired
The domain name that this payment method domain object represents.
enabledbooleanrequired
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_payobjectrequired
Indicates the status of a specific payment method on a payment method domain.
idstringrequired
Unique identifier for the object.
klarnaobjectrequired
Indicates the status of a specific payment method on a payment method domain.
linkobjectrequired
Indicates the status of a specific payment method on a payment method domain.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:payment_method_domain
paypalobjectrequired
Indicates the status of a specific payment method on a payment method domain.
defaultError response.
errorobjectrequired

Error handling

payment_method_domain must identify the payment method domain to retrieve and must not exceed 5000 characters. expand values must not exceed 5000 characters when provided.