SimulateAuthorizationInput

public struct SimulateAuthorizationInput : Equatable

Input to simulate an authorization request from a merchant.

Properties

  • pan

    Card number presented to merchant.

    Declaration

    Swift

    public var pan: String
  • Amount of transaction in merchant’s minor currency (e.g. cents for USD).

    Declaration

    Swift

    public var amount: Int
  • ID of merchant to use in simulated authorization.

    Declaration

    Swift

    public var merchantId: String
  • Simulation of card expiry entered by user at merchant checkout.

    Declaration

    Swift

    public var expiry: Expiry
  • 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.

    Declaration

    Swift

    public var billingAddress: BillingAddress?
  • csc

    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.

    Declaration

    Swift

    public var csc: String?

Lifecycle