redsys-easy
Version:
Node JS interface for Redsys payment gateway
4 lines (3 loc) • 446 B
TypeScript
import type { ResponseJSONSuccess, CommonRawRequestParams, CommonRawResponseParams, SHA256SignedJSONParameters } from '../types/api';
export declare const sha256VerifyJSONResponse: (merchantKey: string, response: ResponseJSONSuccess, responseParams: CommonRawResponseParams) => void;
export declare const sha256SignJSONRequest: (merchantKey: string, serializedParams: string, requestParams: CommonRawRequestParams) => SHA256SignedJSONParameters;