Skip to main content
Glama
paymentsApi.d.ts•1.82 kB
/// <reference types="node" /> import http from 'http'; import { CreatePaymentRequest } from '../model/createPaymentRequest'; import { CreatePaymentResponse } from '../model/createPaymentResponse'; import { GetPaymentRequest } from '../model/getPaymentRequest'; import { Authentication, Interceptor } from '../model/models'; import { ApiKeyAuth } from '../model/models'; export declare enum PaymentsApiApiKeys { apiKey = 0, partnerKey = 1 } export declare class PaymentsApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; apiKey: ApiKeyAuth; partnerKey: ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); set useQuerystring(value: boolean); set basePath(basePath: string); set defaultHeaders(defaultHeaders: any); get defaultHeaders(): any; get basePath(): string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: PaymentsApiApiKeys, value: string): void; addInterceptor(interceptor: Interceptor): void; createPaymentRequest(createPaymentRquest: CreatePaymentRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CreatePaymentResponse; }>; deletePaymentRequest(id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; getPaymentRequest(id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetPaymentRequest; }>; }

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/samihalawa/brevo-mcp'

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