auth-net-cap
Work with the AuthNetCap in a common way for iOS, Android, and web
Install
npm install auth-net-cap
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
dispatchData(...)
dispatchData(options: { env: string; clientName: string; clientKey: string; cardNumber: string; expirationMonth: string; expirationYear: string; cardCode: string; zipCode: string; cardHolderName: string; }) => Promise<{ value: string; descriptor: string; }>
Param | Type |
---|---|
options |
{ env: string; clientName: string; clientKey: string; cardNumber: string; expirationMonth: string; expirationYear: string; cardCode: string; zipCode: string; cardHolderName: string; } |
Returns: Promise<{ value: string; descriptor: string; }>