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

# Get off ramp transaction



## OpenAPI

````yaml GET /v1/virtual-accounts/transactions/offramp/{transactionId}
openapi: 3.1.0
info:
  title: Virtual Accounts
  version: '2.0'
servers:
  - description: Production Environment
    url: https://api.moonpay.com
  - description: Staging Environment
    url: https://api.moonpay-staging.com
security: []
paths:
  /v1/virtual-accounts/transactions/offramp/{transactionId}:
    get:
      tags:
        - Virtual Account Transactions
      summary: Get off ramp transaction
      operationId: VirtualAccountTransactionsController.getOffRampTransaction
      parameters:
        - in: path
          name: transactionId
          required: true
          schema:
            pattern: '[^\/#\?]+?'
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicOffRampVirtualAccountTransaction'
          description: ''
      security:
        - ApiKeyInQueryParamsAuth: []
components:
  schemas:
    PublicOffRampVirtualAccountTransaction:
      properties:
        createdAt:
          pattern: \d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z?
          type: string
        destination:
          $ref: '#/components/schemas/PublicFiatDestinationDetails'
        destinationAmount:
          maxLength: 255
          minLength: 0
          type: string
        destinationCurrency:
          $ref: '#/components/schemas/PublicFiatCurrency'
        feeBreakdown:
          $ref: '#/components/schemas/PublicOffRampTransactionFeeBreakdown'
        id:
          format: uuid
          type: string
        source:
          $ref: '#/components/schemas/PublicVirtualAccountCryptoWallet'
        sourceAmount:
          maxLength: 255
          minLength: 0
          type: string
        sourceCurrency:
          $ref: '#/components/schemas/PublicCryptoCurrency'
        status:
          enum:
            - FundsReviewInProgress
            - ConversionInProgress
            - PayoutInProgress
            - Completed
            - Failed
            - RejectedAml
            - RejectedFraud
            - RejectedMinAmount
          type: string
      required:
        - sourceCurrency
        - destinationCurrency
        - source
        - destination
        - feeBreakdown
        - id
        - status
        - sourceAmount
        - destinationAmount
        - createdAt
      type: object
    PublicFiatDestinationDetails:
      properties:
        id:
          format: uuid
          type: string
        partyType:
          enum:
            - first_party
            - third_party
          type: string
        recipientDetails:
          $ref: '#/components/schemas/RecipientDetails'
        routingDetails:
          $ref: '#/components/schemas/BaseRoutingDetails'
      required:
        - id
        - partyType
        - routingDetails
        - recipientDetails
      type: object
    PublicFiatCurrency:
      properties:
        code:
          minLength: 3
          type: string
        name:
          maxLength: 20
          minLength: 0
          type: string
        type:
          maxLength: 10
          minLength: 0
          type: string
      required:
        - code
        - name
        - type
      type: object
    PublicOffRampTransactionFeeBreakdown:
      properties:
        deductedFee:
          $ref: '#/components/schemas/PublicCryptoAmount'
        networkFees:
          items:
            $ref: '#/components/schemas/PublicOffRampTransactionNetworkFee'
          type: array
        partnerFees:
          items:
            $ref: '#/components/schemas/PublicOffRampFeeWithSettlement'
          type: array
      required:
        - networkFees
        - partnerFees
      type: object
    PublicVirtualAccountCryptoWallet:
      properties:
        network:
          $ref: '#/components/schemas/PublicVirtualAccountWalletNetwork'
        wallet:
          $ref: '#/components/schemas/PublicVirtualAccountCryptoWalletDetails'
      required:
        - wallet
      type: object
    PublicCryptoCurrency:
      properties:
        network:
          $ref: '#/components/schemas/PublicCryptoCurrencyNetwork'
        notAllowedCountries:
          items: {}
          type: array
        notAllowedUSStates:
          items: {}
          type: array
      required:
        - notAllowedUSStates
        - notAllowedCountries
        - network
      type: object
    RecipientDetails:
      properties:
        city:
          maxLength: 255
          minLength: 0
          type: string
        country:
          maxLength: 255
          minLength: 0
          type: string
        emailAddress:
          maxLength: 255
          minLength: 0
          type: string
        entityType:
          enum:
            - Individual
            - Business
          type: string
        familyName:
          maxLength: 255
          minLength: 0
          type: string
        givenName:
          maxLength: 255
          minLength: 1
          type: string
        name:
          maxLength: 255
          minLength: 1
          type: string
        phoneNumber:
          maxLength: 255
          minLength: 0
          type: string
        postalCode:
          maxLength: 255
          minLength: 0
          type: string
        state:
          maxLength: 255
          minLength: 0
          type: string
        street:
          maxLength: 255
          minLength: 0
          type: string
      required:
        - entityType
      type: object
    BaseRoutingDetails:
      properties:
        bankCountryCode:
          maxLength: 255
          minLength: 0
          type: string
        bankName:
          maxLength: 255
          minLength: 0
          type: string
        currencyCode:
          enum:
            - usd
            - eur
            - gbp
          type: string
        type:
          enum:
            - ach
            - wire
            - sepa
            - swift
            - rtp
            - chaps
            - fps
          type: string
      required:
        - type
        - currencyCode
        - bankName
        - bankCountryCode
      type: object
    PublicCryptoAmount:
      properties:
        amount:
          minLength: 1
          type: string
        currency:
          $ref: '#/components/schemas/PublicCryptoCurrency'
          minLength: 1
          type: string
      required:
        - currency
        - amount
      type: object
    PublicOffRampTransactionNetworkFee:
      properties:
        amount:
          minLength: 1
          type: string
        currency:
          $ref: '#/components/schemas/PublicCryptoCurrency'
          minLength: 1
          type: string
        settlement:
          enum:
            - deductedImmediately
            - settledLater
          type: string
        type:
          enum:
            - SepaIn
            - SepaOut
            - EthereumGas
            - SolanaTransactionFee
            - RailFee
            - AchIn
            - AchOut
            - WireIn
            - WireOut
            - SwiftIn
            - SwiftOut
            - FpsIn
            - FpsOut
            - ChapsIn
            - ChapsOut
            - StellarTransactionFee
          type: string
      required:
        - type
        - amount
        - currency
        - settlement
      type: object
    PublicOffRampFeeWithSettlement:
      properties:
        amount:
          minLength: 1
          type: string
        currency:
          $ref: '#/components/schemas/PublicCryptoCurrency'
          minLength: 1
          type: string
        settlement:
          enum:
            - deductedImmediately
            - settledLater
          type: string
      required:
        - settlement
        - amount
        - currency
      type: object
    PublicVirtualAccountWalletNetwork:
      properties:
        code:
          enum:
            - akash
            - algorand
            - aptos
            - arbitrum
            - avalanche_c_chain
            - base
            - berachain
            - binance
            - binance_smart_chain
            - bitcoin
            - bitcoin_cash
            - bitcoin_testnet
            - bnb_chain
            - cardano
            - celo
            - celestia
            - core
            - cosmos
            - chiliz
            - cronos
            - dash
            - deversifi
            - digibyte
            - dogecoin
            - dydx
            - elrond
            - eosio
            - ethereum
            - ethereum_classic
            - fantom
            - filecoin
            - flow
            - flow_evm
            - gala
            - goerli
            - hedera
            - hive
            - hypercore
            - icp
            - immutable
            - injective
            - iota
            - kava
            - klaytn
            - kovan
            - lbry
            - linea
            - lisk
            - litecoin
            - litecoin_testnet
            - loopring
            - mantle
            - mina
            - mobilecoin
            - moca
            - monad
            - multiversx
            - mumbai
            - nano
            - near
            - nem
            - neo
            - nimiq
            - noble
            - oasis
            - okc
            - ontology
            - optimism
            - osmosis
            - palm
            - plasma
            - polkadot
            - polygon
            - qtum
            - ravencoin
            - rinkeby
            - ripple
            - ronin
            - sei
            - sepolia
            - simple_ledger_protocol
            - solana
            - sonic
            - sorare
            - starknet
            - stacks
            - stellar
            - sui
            - rune
            - terra
            - tezos
            - theta
            - tomochain
            - ton
            - tron
            - unichain
            - vechain
            - venom
            - waves
            - wax
            - worldchain
            - xrpl
            - zcash
            - zilliqa
            - zksync
          type: string
        icon:
          maxLength: 255
          minLength: 0
          type: string
        name:
          maxLength: 255
          minLength: 0
          type: string
      type: object
    PublicVirtualAccountCryptoWalletDetails:
      properties:
        walletAddress:
          maxLength: 255
          minLength: 0
          type: string
        walletAddressTag:
          maxLength: 255
          minLength: 0
          type: string
      required:
        - walletAddress
      type: object
    PublicCryptoCurrencyNetwork:
      properties:
        code:
          maxLength: 20
          minLength: 0
          type: string
        icon:
          maxLength: 20
          minLength: 0
          type: string
        name:
          maxLength: 20
          minLength: 0
          type: string
      required:
        - code
        - name
        - icon
      type: object
  securitySchemes:
    ApiKeyInQueryParamsAuth:
      description: |-
        API Key authentication using a publishable API key in the query string.
        The key is passed as the `apiKey` query parameter.
        Publishable keys are safe to expose in client-side code.
      in: query
      name: apiKey
      type: apiKey

````