UNPKG

sibs-payments

Version:

A payment system module for SIBS payments integration with card tokenization support

76 lines 1.66 kB
export declare const API = "https://api.qly.sibspayments.com/sibs/spg/v2/payments"; export interface IAM { clientId: string; terminalId: number; bearerToken: string; } export interface Address { street1: string; street2: string; city: string; postcode: string; country: string; } export interface SaveCardData { id: string; PAN: string; validationDate: string; customerName: string; customerEmail: string; billingAddress: Address; secureCode?: string; description?: string; } export interface CardData { id: string; token: string; value: number; currency: string; customerName: string; customerEmail: string; billingAddress: Address; secureCode?: string; description?: string; } export interface MbWayData { id: string; description: string; phone: string; currency: string; value: number; } export interface MbRefData { id: string; description: string; entity: string; currency: string; value: number; } export interface RefundData { customId: string; transactionId: string; description: string; currency: string; value: number; } export interface CancellationData { customId: string; transactionId: string; description: string; currency: string; value: number; } export interface FormData { id: string; description: string; currency: string; amount: number; entity: string; customerName: string; customerEmail: string; billingAddress: Address; language?: string; redirectUrl?: string; token: string; } //# sourceMappingURL=types.d.ts.map