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

# Get a current-user billing transaction

> Returns one transaction visible to the current user, including amount, status, wallet context, and billing metadata.



## OpenAPI

````yaml /openapi.json get /transactions/{id}
openapi: 3.0.4
info:
  title: Leadping API
  description: >-
    Leadping API for lead intake, messaging, calling, automations, billing,
    business settings, and compliant lead communication workflows.
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: v1
servers:
  - url: https://api.leadping.ai
    description: Production
security: []
tags:
  - name: Analytics
  - name: Automations
  - name: Contact
  - name: Conversations
  - name: Dispositions
  - name: Feedback
  - name: Leads
  - name: LeadStatuses
  - name: Notifications
  - name: OutboundDelivery
  - name: Sources
  - name: Suppressions
  - name: Tags
  - name: Users
  - name: Calls
  - name: PhoneNumbers
  - name: Sms
  - name: Telephony
  - name: UserDataExports
  - name: CallEvents
  - name: Events
  - name: SmsEvents
  - name: Businesses
  - name: PaymentMethods
  - name: Transactions
  - name: Usage
  - name: Wallets
paths:
  /transactions/{id}:
    get:
      tags:
        - Transactions
      summary: Get a current-user billing transaction
      description: >-
        Returns one transaction visible to the current user, including amount,
        status, wallet context, and billing metadata.
      operationId: Transactions_GetForCurrentUser
      parameters:
        - name: id
          in: path
          description: The ID of the transaction to retrieve.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Transaction was successfully retrieved.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/TransactionResponse'
                description: >-
                  Response schema for the Leadping API billing transaction
                  response returned to authenticated clients.
        '401':
          description: The user does not own this transaction.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: The specified transaction was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
components:
  schemas:
    TransactionResponse:
      type: object
      properties:
        business:
          type: object
          allOf:
            - $ref: '#/components/schemas/IdNamePair'
          description: The ID and name for this business.
          nullable: true
        lead:
          type: object
          allOf:
            - $ref: '#/components/schemas/IdNamePair'
          description: The ID and name for this lead.
          nullable: true
        amount:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          description: Monetary amount for this billing transaction or wallet operation.
          format: double
        netAmount:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          description: Net monetary amount after fees, credits, or adjustments.
          format: double
        gatewayFeeAmount:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          description: Payment gateway fee amount charged for the wallet transaction.
          format: double
          nullable: true
        gatewayStatus:
          type: string
          description: Payment gateway status returned for this transaction.
          nullable: true
        platformFeeAmount:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          description: Leadping platform fee amount included in the transaction.
          format: double
          nullable: true
        notes:
          type: string
          description: >-
            Additional billing notes that explain the transaction for admins or
            customers.
          nullable: true
        description:
          type: string
          description: >-
            Human-readable description that explains this billing transaction
            response to API users.
          nullable: true
        paymentMethodDisplay:
          type: string
          description: Masked or human-readable payment method shown for this transaction.
          nullable: true
        transactionType:
          allOf:
            - $ref: '#/components/schemas/TransactionType'
          description: Debit or credit classification for this wallet transaction.
        transactionStatus:
          allOf:
            - $ref: '#/components/schemas/TransactionStatus'
          description: Processing status for this wallet transaction.
        id:
          type: string
          description: The unique identifier for the entity.
        createdAt:
          type: string
          description: The date and time when the entity was created.
          format: date-time
        modifiedAt:
          type: string
          description: The date and time when the entity was last modified, if applicable.
          format: date-time
          nullable: true
      description: >-
        Response schema for the Leadping API billing transaction response
        returned to authenticated clients.
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          description: URI reference that identifies the problem type.
          nullable: true
        title:
          type: string
          description: Short, human-readable summary of the problem.
          nullable: true
        status:
          pattern: ^-?(?:0|[1-9]\d*)$
          description: HTTP status code returned for the problem.
          format: int32
          nullable: true
        detail:
          type: string
          description: >-
            Human-readable explanation specific to this occurrence of the
            problem.
          nullable: true
        instance:
          type: string
          description: >-
            URI reference that identifies this specific occurrence of the
            problem.
          nullable: true
    IdNamePair:
      required:
        - id
        - name
      type: object
      properties:
        id:
          type: string
          description: The unique identifier.
        name:
          type: string
          description: The display name.
      description: >-
        A minimal Record type with an (string), (string), and maximum JSON
        compatibility. The reason for this type (over something like
        KeyValuePair, dictionary) is because of JSON serialization support.
    TransactionType:
      enum:
        - Debit
        - Adjustment
        - Deposit
      type: string
      description: Defines the supported Transaction Type values.
    TransactionStatus:
      enum:
        - Pending
        - Confirmed
        - Failed
      type: string
      description: Defines the supported Transaction Status values.

````