> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gnosispay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get transactionsscenarios

> Lists the transaction scenarios available to run.



## OpenAPI

````yaml https://core.sandbox.gnosispay.in/simulator-api/openapi.json get /transactions/scenarios
openapi: 3.2.0
info:
  title: Simulator Service
  description: >-
    Card transaction simulator for sandbox/staging environments; the server
    never runs in production. Authenticates via HTTP Basic Auth with username
    "simulator" and the configured password.
  version: 0.0.0
servers: []
security:
  - BasicAuth: []
tags:
  - name: Simulator
paths:
  /transactions/scenarios:
    get:
      tags:
        - Simulator
      description: Lists the transaction scenarios available to run.
      operationId: TransactionScenarios_list
      parameters: []
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListScenariosResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ListScenariosResponse:
      type: object
      required:
        - scenarios
      properties:
        scenarios:
          type: array
          items:
            $ref: '#/components/schemas/Scenario'
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
    Scenario:
      type: object
      required:
        - name
        - description
        - requires_authorization_code
        - steps
      properties:
        name:
          type: string
          description: Scenario name, used in the run route
        description:
          type: string
          description: What the scenario does, step by step
        requires_authorization_code:
          type: boolean
          description: >-
            Whether the run request must carry an authorization_code from a
            previous run
        follow_up_scenario:
          type: string
          description: >-
            Scenario to run next, with the authorization code from this run.
            Present on flows split around the ~2 minute clearing settle wait.
        steps:
          type: array
          items:
            $ref: '#/components/schemas/ScenarioStepInfo'
          description: Steps the scenario executes in order
      description: A named sequence of simulated transactions that covers one card flow.
    ScenarioStepInfo:
      type: object
      required:
        - transaction_type
        - amount
        - currency
      properties:
        transaction_type:
          $ref: '#/components/schemas/TransactionType'
          description: Type of transaction this step simulates
        amount:
          type: string
          description: Transaction amount in major units (e.g., "5.00")
        currency:
          type: string
          description: >-
            ISO 4217 currency code. Steps that follow the run currency report
            the default, USD.
        operation:
          $ref: '#/components/schemas/TransactionOperation'
          description: Transaction operation. When omitted, defaults to "purchase".
        replacement_amount:
          type: string
          description: New amount for a replacement step
        expect_status:
          $ref: '#/components/schemas/SimulationStatus'
          description: >-
            Status the step is expected to return. The run fails when the actual
            status differs.
      description: One transaction within a scenario.
    TransactionType:
      type: string
      enum:
        - authorization
        - reversal
        - replacement
        - clearing
        - clearing_cancellation
    TransactionOperation:
      type: string
      enum:
        - credit_reversal
        - credit_transfer
        - credit_voucher
        - debit_reversal
        - debit_transfer
        - deposit_by_bill
        - international_credit_voucher
        - international_purchase
        - international_purchase_reversal
        - international_withdrawal
        - national_withdrawal
        - purchase
        - purchase_quasi_cash
        - refund_purchase
        - reversal_international_withdrawal
        - reversal_purchase_quasi_cash
        - reverse_national_withdrawal
        - utilities_payment
      description: >-
        Transaction operation determines the processing code sent to the card
        network.
    SimulationStatus:
      type: string
      enum:
        - approved
        - denied
  securitySchemes:
    BasicAuth:
      type: http
      scheme: Basic

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.