---
title: "Get a current-user billing transaction"
method: GET
path: "/transactions/{id}"
tags: ["Transactions"]
---

# Get a current-user billing transaction

`GET /transactions/{id}`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/transactions/{id}`
- Auth: HTTP bearer

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

## Path parameters

- `id` string, required

## Response `200`

Transaction was successfully retrieved.

- TransactionResponse: Describes billing transaction data returned by Leadping.
  - `isDemo` boolean: Indicates sample activity for app review that must not count toward real financial totals.
  - `isUsageReservation` boolean: Indicates a temporary credit hold, not a settled charge.
  - `organization` IdNamePair, nullable: User summary connected to this automation configuration response.
    - `id` string, required
    - `name` string, required
  - `lead` IdNamePair, nullable: User summary connected to this automation configuration response.
    - `id` string, required
    - `name` string, required
  - `messageEventId` string, nullable: Identifier of the message associated with an SMS or MMS usage entry.
  - `amount` number, double: Monetary amount for this billing transaction or wallet operation.
  - `billedAmount` number, double: Customer-facing amount billed for the transaction.
  - `billingChannel` 'lead' | 'sms' | 'mms' | 'email' | 'voice' | 'phone_number' | 'warmup' | 'website' | 'openai' | 'domain' | '10dlc' | 'payment' | 'connection' | 'automation', nullable: Identifies the messaging, calling, phone-number, lookup, or platform channel that generated billable usage.
  - `billableUnit` 'lead_received' | 'phone_identity_lookup' | 'sms_segment' | 'mms_message' | 'email_message' | 'voice_minute' | 'call_attempt' | 'phone_number_month' | 'warmup_sms_segment' | 'warmup_voice_minute' | 'website_setup' | 'openai_operation' | 'domain_registration' | '10dlc_application' | '10dlc_campaign_month' | 'payment_processing_fee' | 'connection_action' | 'automation_run' | 'ai_credit', nullable: Identifies the metered unit used to price Leadping usage, such as a message, call minute, lookup, or phone number.
  - `gatewayStatus` string, nullable: Payment gateway status returned for this transaction.
  - `notes` string, nullable: Additional billing notes that explain the transaction for admins or customers.
  - `description` string, nullable: Human-readable description that explains this billing transaction response to API users.
  - `paymentMethodDisplay` string, nullable: Masked or human-readable payment method shown for this transaction.
  - `transactionType` 'Debit' | 'Adjustment' | 'Deposit': Classifies a wallet transaction as a debit, credit, refund, adjustment, deposit, or other balance movement.
  - `transactionStatus` 'Pending' | 'Confirmed' | 'Failed': Describes the processing and settlement lifecycle of a Leadping wallet or billing transaction.
  - `id` string
  - `createdAt` string, date-time
  - `modifiedAt` string, date-time, nullable

## Other responses

- `400`: The request contains invalid values or fails validation.
- `401`: The user does not own this transaction.
- `403`: The caller does not have permission to perform this operation.
- `404`: The specified transaction was not found.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.

## Changes

- **2026-12-01** `bf1852acaf45`: 1 warning
  - added the new `ai_credit` enum value to the `allOf[#/components/schemas/TransactionResponse]/billableUnit` response property for the response status `200`
- **2026-11-25** `217f2a35c3a8`: 3 warning
  - removed the optional property `allOf[#/components/schemas/TransactionResponse]/gatewayFeeAmount` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/TransactionResponse]/netAmount` from the response with the `200` status
  - removed the optional property `allOf[#/components/schemas/TransactionResponse]/platformFeeAmount` from the response with the `200` status
- **2026-11-24** `8fc0b0d70b96`: 1 info
  - added the optional property `allOf[#/components/schemas/TransactionResponse]/messageEventId` to the response with the `200` status
- **2026-11-12** `5fae8209926d`: 1 warning
  - added the new `call_attempt` enum value to the `allOf[#/components/schemas/TransactionResponse]/billableUnit` response property for the response status `200`
- **2026-11-11** `81aed8c9afb7`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/transactions/:id/get.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
