redsys-easy
Version:
Node JS interface for Redsys payment gateway
18 lines (17 loc) • 398 B
TypeScript
type ErrorRecord = {
code: number;
sisCode: null;
text: string;
} | {
code: null;
sisCode: string;
text: string;
} | {
code: number;
sisCode: string;
text: string;
};
export declare const ALL_ERRORS: ErrorRecord[];
declare const ERROR_CODES: Record<string, string>;
declare const SIS_ERROR_CODES: Record<string, string>;
export { ERROR_CODES, SIS_ERROR_CODES };