wallets

Retrieve a wallet transaction

Changed on

This endpoint is used to retrieve a specific wallet transaction.

get/wallet_transactions/{lago_id}

Request

Response

Wallet transaction

Example response

{
  "wallet_transaction": {
    "lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_wallet_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "billing_entity_code": "default",
    "lago_invoice_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_credit_note_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_voided_invoice_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "status": "settled",
    "source": "manual",
    "transaction_status": "purchased",
    "transaction_type": "inbound",
    "amount": "10.0",
    "credit_amount": "100.0",
    "metadata": [
      {
        "key": "example key",
        "value": "example value"
      },
      {
        "key": "another key",
        "value": "another value"
      }
    ],
    "remaining_amount_cents": 5000,
    "remaining_credit_amount": "5.0",
    "priority": 50,
    "settled_at": "2022-04-29T08:59:51Z",
    "failed_at": "2022-04-29T08:59:51Z",
    "created_at": "2022-04-29T08:59:51Z",
    "name": "Tokens for models 'high-fidelity-boost'",
    "applied_invoice_custom_sections": [
      {
        "lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
        "created_at": "2023-07-06T14:35:58Z",
        "invoice_custom_section_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
        "invoice_custom_section": {
          "lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
          "name": "EU Bank Details",
          "code": "eu_bank_details",
          "description": "This section contains the bank details for EU customers.",
          "details": "Bank Name: Lago Bank, IBAN: FR7630004000031234567890143",
          "display_name": "Bank Details:",
          "applied_to_organization": true,
          "organization_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
          "created_at": "2023-07-06T14:35:58Z"
        }
      }
    ],
    "payment_method": {
      "payment_method_type": "provider",
      "payment_method_id": "1a901a90-1a90-1a90-1a90-1a901a901a90"
    },
    "purchase_order_number": "PO-123"
  }
}

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the required property to the response with the status