Stripe API resource for listing and retrieving country specifications.
// 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} from '../shared.js';
import {RequestOptions, ApiListPromise, Response} from '../lib.js';
export class CountrySpecResource extends StripeResource {
/**
* Lists all Country Spec objects available in the API.
*/
list(
params?: CountrySpecListParams,
options?: RequestOptions
): ApiListPromise<CountrySpec> {
return this._makeRequest('GET', '/v1/country_specs', params, options, {
methodType: 'list',
}) as any;
}
/**
* Returns a Country Spec for a given Country code.
*/
re
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key