UNPKG

@offrain/montonio-api

Version:
49 lines (48 loc) 1.17 kB
export interface Credentials { accessKey: string; secrectKey: string; sandbox?: Evn | false; } export declare enum Evn { true = 0, false = 1 } export interface SecretOptions { access_key: string; } export interface UserOpts { amount: number; currency: string; merchant_reference: string; merchant_return_url: string; merchant_notification_url: string; payment_information_unstructured?: string; preselected_aspsp?: string; preselected_locale?: string; checkout_email?: string; } export interface PayloadOpts { amount: number; access_key: string; currency: string; merchant_reference: string; merchant_return_url: string; merchant_notification_url: string; payment_information_unstructured?: string; preselected_aspsp?: string; preselected_locale?: string; checkout_email?: string; } export interface PaymentMethodsTypes { accessKey: string; } export declare type CountryCode = 'FI' | 'EE' | 'LV' | 'LT'; interface Bank { bic: string; name: string; logo_url: string; } export declare type BankList = { [key in CountryCode]: Bank[]; }; export {};