Transactions

Get a current-user billing transaction

Changed on

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

get/transactions/{id}

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Path parameters

id, string required

The ID of the transaction to retrieve.

Response

Transaction was successfully retrieved.

TransactionResponse required

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.

lead, IdNamePair nullable

User summary connected to this automation configuration response.

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

Changes

    • warning

      added the new ai_credit enum value to the allOf[#/components/schemas/TransactionResponse]/billableUnit response property for the response status

    • warning

      removed the optional property allOf[#/components/schemas/TransactionResponse]/gatewayFeeAmount from the response with the status

    • warning

      removed the optional property allOf[#/components/schemas/TransactionResponse]/netAmount from the response with the status

    1 more change in this revision