UNPKG

nowpayments-api-typescript

Version:
14 lines (13 loc) 1.96 kB
declare const _default: { apiStatus: () => Promise<import("../interfaces").IError | import("./api-status.service").StatusResponse>; getCurrencies: ({ apiKey, }: { apiKey: string; }) => Promise<import("../interfaces").IError | import("./get-currencies.service").GetCurrenciesResponse>; getEstimatePrice: ({ apiKey, amount, currency_from, currency_to, }: import("./get-estimate-price.service").GetEstimatePrice) => Promise<import("../interfaces").IError | import("./get-estimate-price.service").GetEstimatePriceResponse>; createPayment: ({ apiKey, price_amount, price_currency, pay_amount, pay_currency, ipn_callback_url, order_id, order_description, purchase_id, payout_address, payout_currency, payout_extra_id, fixed_rate, }: import("./create-payment.service").CreatePayment) => Promise<import("../interfaces").IError | import("./create-payment.service").CreatePaymentResponse>; getPaymentStatus: ({ apiKey, payment_id, }: import("./get-payment-status.service").GetPaymentStatus) => Promise<import("../interfaces").IError | import("./get-payment-status.service").GetPaymentStatusResponse>; getMinimumPaymentAmount: ({ apiKey, currency_from, currency_to, }: import("./get-minimum-payment-amount.service").GetMinimumPaymentAmount) => Promise<import("../interfaces").IError | import("./get-minimum-payment-amount.service").GetMinimumPaymentAmountResponse>; getListPayments: ({ apiKey, limit, page, sortBy, orderBy, dateFrom, dateTo, }: import("./get-list-payments.service").GetListPayments) => Promise<import("../interfaces").IError | import("./get-list-payments.service").GetListPaymentsResponse>; createInvoice: ({ apiKey, price_amount, price_currency, pay_currency, ipn_callback_url, order_id, order_description, success_url, cancel_url, }: import("./create-invoice.service").CreateInvoice) => Promise<import("../interfaces").IError | import("./create-invoice.service").InvoiceResponse>; }; export default _default;