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

# Get a transaction



## OpenAPI

````yaml /openapi.json get /v1/transactions/{id}
openapi: 3.0.3
info:
  title: SaturnShift Partner API
  version: 1.0.0
  description: >-
    Server-to-server API for partner PSPs to authenticate, read native crypto
    transactions and merchants, and receive webhooks. All endpoints are scoped
    to the authenticated institution.
servers:
  - url: https://api.saturnshift.io
    description: Production
security: []
tags:
  - name: Authentication
    description: OAuth2 client credentials.
  - name: Transactions
    description: Read native crypto transactions.
  - name: Merchants
    description: Read your merchants.
paths:
  /v1/transactions/{id}:
    get:
      tags:
        - Transactions
      summary: Get a transaction
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: The transaction
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transaction'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - oauth2:
            - transactions:read
components:
  schemas:
    Transaction:
      type: object
      properties:
        object:
          type: string
          example: transaction
        id:
          type: integer
          example: 1377
        merchant_id:
          type: integer
          example: 116
        status:
          type: string
          description: >-
            Normalized status: paid (settled to the merchant's external wallet),
            pending, failed, refunded, partially_refunded.
          example: paid
        raw_status:
          type: string
          description: >-
            The underlying internal status (for example succeeded = held in the
            custodial wallet, paid = sent to the merchant).
          example: paid
        amount_status:
          type: string
          nullable: true
          enum:
            - EXACT
            - UNDERPAID
            - OVERPAID
          example: EXACT
        asset:
          type: string
          nullable: true
          example: USDC
        currency:
          type: string
          nullable: true
          example: USD
        amount:
          $ref: '#/components/schemas/Amount'
        networks:
          $ref: '#/components/schemas/Networks'
        tx_hashes:
          $ref: '#/components/schemas/TxHashes'
        customer_email:
          type: string
          nullable: true
          example: buyer@example.com
        external_reference:
          type: string
          nullable: true
          example: order_10432
        created_at:
          type: string
          format: date-time
          nullable: true
        paid_at:
          type: string
          format: date-time
          nullable: true
    Amount:
      type: object
      description: Decimal amounts as strings.
      properties:
        gross:
          type: string
          nullable: true
          example: '1.13'
        net:
          type: string
          nullable: true
          example: '1.00'
        expected:
          type: string
          nullable: true
          example: '1.13'
        psp_fee:
          type: string
          nullable: true
          example: '0.08'
        gas_fee:
          type: string
          nullable: true
          example: '0.05'
        bridge_fee:
          type: string
          nullable: true
          example: '0.00'
    Networks:
      type: object
      properties:
        payment:
          type: string
          nullable: true
          example: BASE
        settlement:
          type: string
          nullable: true
          example: BASE
    TxHashes:
      type: object
      properties:
        source:
          type: string
          nullable: true
          example: 0x...
        bridge:
          type: string
          nullable: true
        settlement:
          type: string
          nullable: true
          example: 0x...
    OAuthError:
      type: object
      properties:
        error:
          type: string
          example: invalid_client
        error_description:
          type: string
          nullable: true
    Error:
      type: object
      properties:
        error:
          type: string
          example: not_found
        error_description:
          type: string
          nullable: true
  responses:
    Unauthorized:
      description: Missing or invalid bearer token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/OAuthError'
    NotFound:
      description: Resource not found in your institution
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      description: >-
        OAuth2 client credentials. Request a token from /oauth/token and send it
        as `Authorization: Bearer <token>`.
      flows:
        clientCredentials:
          tokenUrl: https://api.saturnshift.io/oauth/token
          scopes:
            transactions:read: Read transactions
            merchants:read: Read merchants

````