Skip to main content
Glama

Dodo Payments

Official
by dodopayments
payments.ts991 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from '../../core/resource'; import { APIPromise } from '../../core/api-promise'; import { buildHeaders } from '../../internal/headers'; import { RequestOptions } from '../../internal/request-options'; import { path } from '../../internal/utils/path'; export class Payments extends APIResource { retrieve(paymentID: string, options?: RequestOptions): APIPromise<Response> { return this._client.get(path`/invoices/payments/${paymentID}`, { ...options, headers: buildHeaders([{ Accept: 'application/pdf' }, options?.headers]), __binaryResponse: true, }); } retrieveRefund(refundID: string, options?: RequestOptions): APIPromise<Response> { return this._client.get(path`/invoices/refunds/${refundID}`, { ...options, headers: buildHeaders([{ Accept: 'application/pdf' }, options?.headers]), __binaryResponse: true, }); } }

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