UNPKG

nowpayments-api-typescript

Version:
12 lines (11 loc) 495 B
import { IGetMinimumPaymentAmount, IError } from './../interfaces'; export interface GetMinimumPaymentAmountResponse { currency_from: string; currency_to: string; min_amount: number; } export interface GetMinimumPaymentAmount extends IGetMinimumPaymentAmount { apiKey: string; } declare const getMinimumPaymentAmount: ({ apiKey, currency_from, currency_to, }: GetMinimumPaymentAmount) => Promise<GetMinimumPaymentAmountResponse | IError>; export default getMinimumPaymentAmount;