Astrada TypeScript SDK
    Preparing search index...

    Interface SimulateTransactionScenarioRequest

    SimulateTransactionScenarioRequest

    interface SimulateTransactionScenarioRequest {
        amount?: number;
        cardId: string;
        currency?: string;
        network?: sandbox.SimulateTransactionScenarioRequestNetworkEnum;
        scenario: sandbox.SimulateTransactionScenarioRequestScenarioEnum;
        source?: sandbox.SimulateTransactionScenarioRequestSourceEnum;
        subaccountId: string;
    }
    Index
    amount?: number

    Optional transaction amount in minor units (cents). When omitted, the scenario's default amount is used.

    SimulateTransactionScenarioRequest

    cardId: string

    The identifier of the enrolled card to transact against.

    SimulateTransactionScenarioRequest

    currency?: string

    Optional ISO 4217 three-letter currency code, case insensitive. A code that is not a currency transactions can be made in is rejected with 400. When omitted, the scenario's default currency is used.

    SimulateTransactionScenarioRequest

    Optional card network override, so one scenario can be run against any network. When omitted, the scenario's own default network is used.

    SimulateTransactionScenarioRequest

    The predefined scenario to simulate.

    SimulateTransactionScenarioRequest

    Optional ingestion-source tag applied to every message the scenario emits, so simulated activity can be attributed to a given network feed. When omitted, defaults to the scenario's own source if it sets one (the amex_auth_* scenarios default to amexrta), else tns, or amexgl when the resolved network is AMEX.

    SimulateTransactionScenarioRequest

    subaccountId: string

    The subaccount identifier the card belongs to.

    SimulateTransactionScenarioRequest