UNPKG

@sumup/sdk

Version:

The official TypeScript SDK for the SumUp API

19 lines 723 B
import { APIResource, type RequestOptions, type WithResponse } from "../../core"; import type { Receipt } from "../../types"; export type GetReceiptQueryParams = { mid: string; tx_event_id?: number; }; /** * API resource for the Receipts endpoints. * * The Receipts model obtains receipt-like details for specific transactions. */ export declare class Receipts extends APIResource { /** * Retrieves receipt specific data for a transaction. */ get(id: string, query: GetReceiptQueryParams, options?: RequestOptions): Promise<Receipt>; getWithResponse(id: string, query: GetReceiptQueryParams, options?: RequestOptions): Promise<WithResponse<Receipt>>; } //# sourceMappingURL=index.d.cts.map