wk-nmi
Version:
This is a simple utility package
39 lines (38 loc) • 806 B
TypeScript
import { BillingInfo } from "./customerVault";
export type PayWithCustomerVault = {
org?: string;
customerVault: string;
total: string;
billingInfo: BillingInfo;
};
export type PayWithToken = {
org?: string;
token: string;
total: string;
billingInfo: BillingInfo;
};
type NMResponse = {
response: string;
responsetext: string;
authcode: string;
transactionid: string;
avsresponse: string;
response_code: string;
customer_vault_id: string;
};
type Request = {
org: string;
customer_vault: string;
total: string;
billing_info: BillingInfo;
user_id: string;
};
export type NMIResponse = {
req: Request;
type: string;
org: string;
nm_response: NMResponse;
date: string;
successfull: boolean;
};
export {};