UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

41 lines 942 B
/** * PaymentLinksService * AUTO-GENERATED - Do not edit manually * * Payment links - shareable payment URLs */ import { request } from '../core/request.js'; export class PaymentLinksService { /** * List payment_links * Payment links - shareable payment URLs */ static async list(options) { return await request({ method: 'GET', url: '/payment-links', query: options, }); } /** * Get a single payment_link */ static async get(id) { return await request({ method: 'GET', url: '/payment-links/{id}', path: { id }, }); } /** * Create a new payment_link */ static async create(data) { return await request({ method: 'POST', url: '/payment-links', body: data, }); } } //# sourceMappingURL=PaymentLinksService.js.map