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

# List All Orders (On-Ramp & Off-Ramp)

> Retrieves a unified list of all transaction orders, including both OnRamp and OffRamp types. Allows filtering by type, status, and pagination.



## OpenAPI

````yaml ramps-api/openapi.json GET /api/v1/transactions/
openapi: 3.1.0
info:
  title: Ripio Ramp API
  version: v1
  description: >-
    API for Ripio ramp services, enabling partners to integrate On-Ramp,
    Off-Ramp, customer management, KYC processes, and other financial
    functionalities. This API is RESTful, uses JSON for requests and responses,
    and standard HTTP status codes. This document is based on the
    'onramp-api.pdf' provided and aims to be compliant with OpenAPI
    Specification v3.1.0. The PDF indicates that the API documentation is a
    draft and subject to change.
servers:
  - url: https://skala-sandbox.ripio.com
    description: Sandbox environment
  - url: https://skala.ripio.com
    description: Production environment
security:
  - BearerToken: []
tags:
  - name: Authentication
    description: Operations related to API authentication and authorization.
  - name: Support Tickets
    description: >-
      Operations for raising and tracking customer support tickets with Ripio's
      support team. This feature must be enabled for your account by the Ripio
      team.
  - name: Customers
    description: Operations related to customer management.
  - name: KYC
    description: Operations related to Know Your Customer processes.
  - name: Fiat Accounts
    description: Operations related to managing fiat accounts and their requirements.
  - name: Quotes
    description: Operations related to obtaining and managing conversion quotes.
  - name: On-Ramp
    description: Operations related to fiat-to-crypto (on-ramp) processes.
  - name: Off-Ramp
    description: Operations related to crypto-to-fiat (off-ramp) processes.
  - name: Transactions
    description: Operations related to listing and managing all transaction types.
  - name: Networks
    description: >-
      Operations related to retrieving available deposit and withdrawal
      networks.
  - name: Rates
    description: Operations related to retrieving market rates.
  - name: Sandbox
    description: Operations specific to the sandbox environment for testing purposes.
  - name: Webhooks
    description: Webhook event notifications from Ripio Ramp API.
  - name: Sell and Pay
    description: >-
      Endpoints for managing Sell and Pay transactions, which allow customers to
      convert cryptocurrency to fiat currency and pay merchants via QR codes
paths:
  /api/v1/transactions/:
    get:
      tags:
        - Transactions
      summary: List All Orders (On-Ramp & Off-Ramp)
      description: >-
        Retrieves a unified list of all transaction orders, including both
        OnRamp and OffRamp types. Allows filtering by type, status, and
        pagination.
      operationId: listAllTransactions
      parameters:
        - name: type
          in: query
          description: Filter orders by type.
          required: false
          schema:
            type: string
            enum:
              - ONRAMP
              - OFFRAMP
        - name: status
          in: query
          description: Filter orders by status.
          required: false
          schema:
            type: string
            enum:
              - PENDING
              - PROCESSING
              - COMPLETED
              - CANCELLED
              - REFUNDED
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: >-
            A paginated list of transactions. The structure of each object in
            the transactions array depends on its type (OnRamp or OffRamp).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedAllOrdersList'
        '400':
          description: Bad Request - e.g., invalid filter parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - Invalid or missing access token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                code: 40001
                type: NotAuthenticated
                detail:
                  message: Authentication credentials were not provided.
                  code: not_authenticated
                status: 401
components:
  parameters:
    Limit:
      name: limit
      in: query
      description: Maximum number of items to return.
      required: false
      schema:
        type: integer
        minimum: 1
        default: 100
      example: 100
    Offset:
      name: offset
      in: query
      description: Starting point to limit the total items to return (for pagination).
      required: false
      schema:
        type: integer
        minimum: 0
      example: 0
  schemas:
    PaginatedAllOrdersList:
      type: object
      properties:
        count:
          type: integer
          description: Total number of items across all pages.
        next:
          type:
            - string
            - 'null'
          format: uri
          description: URL to the next page of results. Null if no next page.
        previous:
          type:
            - string
            - 'null'
          format: uri
          description: URL to the previous page of results. Null if no previous page.
        transactions:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/OnRampTransactionDetail'
              - $ref: '#/components/schemas/OffRampOrderTransactionDetail'
          description: >-
            Array of order objects (both On-Ramp and Off-Ramp) for the current
            page.
    ErrorResponse:
      type: object
      properties:
        code:
          type: integer
          description: Application-specific error code.
        type:
          type: string
          description: Type of error or exception.
        detail:
          type: object
          properties:
            message:
              type: string
              description: Detailed error message.
          additionalProperties: true
        status:
          type: integer
          description: HTTP status code.
      required:
        - code
        - type
        - detail
        - status
    OnRampTransactionDetail:
      type: object
      description: Details of an on-ramp transaction.
      properties:
        transactionId:
          type: string
          format: uuid
          description: Unique identifier for the on-ramp transaction.
          example: 21d8a046-3221-4b43-a301-0f9adcdd9a45
        createdAt:
          type: string
          format: date-time
          description: Date and time the on-ramp transaction was created.
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
        quoteId:
          type: string
          format: uuid
          description: Reference to the original quote used for this transaction.
        fromCurrency:
          type: string
          description: The source currency (fiat) used in the on-ramp transaction.
          example: ARS
        toCurrency:
          type: string
          description: The target cryptocurrency received in the on-ramp transaction.
          example: USDC
        amount:
          type: string
          description: >-
            The amount of the target cryptocurrency received (based on the
            original quote).
        chain:
          type: string
          description: The target blockchain network for the cryptocurrency deposit.
          example: ETHEREUM_SEPOLIA
        metadata:
          type: object
          description: Additional metadata associated with the transaction.
          additionalProperties: true
          example: {}
        txnHash:
          type:
            - string
            - 'null'
          description: >-
            Transaction hash for the on-chain operation (null if not yet
            processed).
          example: null
        paymentMethodType:
          type: string
          description: The payment method used for the fiat deposit.
          example: bank_transfer
        depositAddress:
          type: string
          description: The customer's deposit address on the target blockchain.
        status:
          type: string
          description: The current transaction status.
          enum:
            - ON_RAMP_DEPOSIT_RECEIVED
            - ON_RAMP_TRADE_COMPLETED
            - ON_RAMP_WITHDRAWAL_PROCESSING
            - ON_RAMP_WITHDRAWAL_COMPLETED
            - ON_RAMP_TRADE_CANCELLED
            - ON_RAMP_ORDER_EXPIRED
            - ON_RAMP_REFUND_COMPLETED
          example: WITHDRAWAL_PENDING
        externalRef:
          type: string
          format: uuid
          description: Unique identifier for the order provided by the partner.
        source:
          type: string
          description: Indicates the origin of the on-ramp order.
          enum:
            - ON_RAMP
            - ON_RAMP_SESSION
          example: ON_RAMP
        sender:
          type:
            - string
            - 'null'
          description: >-
            Name of the holder of the originating fiat account (e.g. CVU/CLABE
            owner). Null when not provided by the fiat provider.
          example: Juan Pérez
      required:
        - transactionId
        - createdAt
        - customerId
        - quoteId
        - fromCurrency
        - toCurrency
        - amount
        - chain
        - paymentMethodType
        - depositAddress
        - status
        - externalRef
        - source
    OffRampOrderTransactionDetail:
      type: object
      description: Details of an off-ramp transaction.
      properties:
        transactionId:
          type: string
          format: uuid
          description: Unique identifier for the off-ramp transaction.
        createdAt:
          type: string
          format: date-time
          description: Date and time the off-ramp transaction was created.
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
        quoteId:
          type: string
          format: uuid
          description: Reference to the original quote used for this transaction.
        fromCurrency:
          type: string
          description: The source cryptocurrency being off-ramped.
          example: USDC
        toCurrency:
          type: string
          description: The target fiat currency received.
          example: ARS
        amount:
          type: string
          description: The amount of the target currency transferred or to be transferred.
        chain:
          type: string
          description: The cryptocurrency blockchain for the deposit address.
          example: ETHEREUM
        status:
          type: string
          description: >-
            The current transaction status (subset of OnRamp statuses, specific
            OffRamp statuses to be confirmed from full API spec if different).
        txnHash:
          type: string
          description: The transaction hash for the on-chain operation (crypto deposit).
        providerId:
          type: string
          description: >-
            The fiat withdrawal provider's transaction identifier. Available for
            completed Argentine off-ramp orders.
        finishedAt:
          type: string
          description: >-
            Date and time the fiat withdrawal was completed by the provider.
            Available for completed Argentine off-ramp orders.
      required:
        - transactionId
        - createdAt
        - customerId
        - quoteId
        - fromCurrency
        - toCurrency
        - amount
        - chain
        - status
  securitySchemes:
    BearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Access token obtained via
        [/oauth2/token/](/ramps-api/authentication/acquire-access-token). Use as
        `Authorization: Bearer <access_token>`.

````