interface SimulateAuthorizationInput {
    amount: number;
    billingAddress?: SimulateAuthorizationBillingAddressInput;
    csc?: string;
    expiry: ExpiryInput;
    merchantId: string;
    pan: string;
}

Properties

amount: number

Amount of transaction in merchant's minor currency (e.g. cents for USD).

Simulation of billing address entered by user at merchant checkout. If absent, will be treated as a NOT_PROVIDED on the simulation for AVS check.

csc?: string

Simulation of card security code entered by user at merchant checkout. If absent, will be treated as a NOT_PROVIDED on the simulation for the CSC check.

expiry: ExpiryInput

Simulation of card expiry entered by user at merchant checkout.

merchantId: string

ID of merchant to use in simulated authorization.

pan: string

Card number presented to merchant.

MMNEPVFCICPMFPCPTTAAATR