Stripe API client resource for managing payment method domains.
// Source: https://github.com/stripe/stripe-node | License: MIT | Copyright 2011 Ask Bjørn Hansen
// Provided via justclaw.it.com; keep this notice with the code.
// File generated from our OpenAPI spec
import {StripeResource} from '../StripeResource.js';
import {PaginationParams, OtherString} from '../shared.js';
import {RequestOptions, ApiListPromise, Response} from '../lib.js';
export class PaymentMethodDomainResource extends StripeResource {
/**
* Lists the details of existing payment method domains.
*/
list(
params?: PaymentMethodDomainListParams,
options?: RequestOptions
): ApiListPromise<PaymentMethodDomain> {
return this._makeRequest(
'GET',
'/v1/payment_method_domains',
params,
options,
{
methodType: 'list',
}
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key