Wallets

Get an organization wallet balance by ID

Changed on

Returns one wallet by ID, including balance, billing context, and funding status for account payment workflows.

get/wallets/{id}

Request

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

Path parameters

id, string required

The ID of the wallet to retrieve.

Response

Wallet was successfully retrieved.

WalletResponse required

Describes billing wallet data returned by Leadping.

balance, number double nullable

Wallet or account balance after this transaction is applied.

balanceCalculatedAt, string date-time nullable

UTC timestamp when Leadping last calculated the wallet balance.

amountPurchased, number double nullable

Amount of wallet credit purchased in this deposit.

amountRemaining, number double nullable

Amount of wallet credit still available for future usage.

currency, string nullable

ISO currency code used for the monetary amounts in this billing wallet response.

purchasedAt, string date-time nullable

UTC timestamp when the wallet credit was purchased.

expiresAt, string date-time nullable

UTC timestamp when the wallet credit expires.

sourceType, 'purchase' | 'promo' | 'admin_adjustment' | 'refund_adjustment' | 'chargeback_reversal' | 'compromise_restoration' nullable

Defines the source that created a wallet credit lot.

creditStatus, 'active' | 'consumed' | 'expired' | 'refunded' | 'voided' | 'disputed' nullable

Defines the lifecycle state for a wallet credit lot.

organizationId, string nullable

Organization ID that owns this wallet balance or credit.

originalTransactionId, string nullable

Original wallet transaction ID referenced by a reversal, refund, or adjustment.

nextCreditExpirationAt, string date-time nullable

UTC timestamp when the next wallet credit amount expires.

nextExpiringCreditAmount, number double nullable

Amount of wallet credit scheduled to expire next.

expiredCreditAmount, number double nullable

Amount of wallet credit that has expired.

name, string
id, string
createdAt, string date-time
modifiedAt, string date-time nullable

Changes