Skip to main content
Glama

Dodo Payments

Official
by dodopayments
customer-portal.ts1.02 kB
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from '../../core/resource'; import * as CustomersAPI from './customers'; import { APIPromise } from '../../core/api-promise'; import { RequestOptions } from '../../internal/request-options'; import { path } from '../../internal/utils/path'; export class CustomerPortal extends APIResource { create( customerID: string, params: CustomerPortalCreateParams | null | undefined = {}, options?: RequestOptions, ): APIPromise<CustomersAPI.CustomerPortalSession> { const { send_email } = params ?? {}; return this._client.post(path`/customers/${customerID}/customer-portal/session`, { query: { send_email }, ...options, }); } } export interface CustomerPortalCreateParams { /** * If true, will send link to user. */ send_email?: boolean; } export declare namespace CustomerPortal { export { type CustomerPortalCreateParams as CustomerPortalCreateParams }; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dodopayments/dodopayments-node'

If you have feedback or need assistance with the MCP directory API, please join our Discord server