HelipodDocs

Wallet and invoices

Wallet balance and transactions, deposits (top-ups), invoices, and the monthly statement.

Every route on this page needs a whole-account key (403 ACCOUNT_KEY_REQUIRED otherwise). Amounts are in Rupiah.

Wallet

GET/account/wallet
The balance every purchase is paid from.
curl https://api.helipod.io/api/account/wallet \
  -H "Authorization: Bearer hel_your_key"
{ "success": true, "data": { "balance": 482500, "currency": "IDR", "updatedAt": "2026-10-16T09:12:03.000Z" } }

Transactions

GET/account/wallet/transactions
Money in and out of the wallet, newest first.

Prop

Type

{
  "success": true,
  "data": {
    "transactions": [
      {
        "id": "6c5d4e3f-2a1b-4c0d-9e8f-7a6b5c4d3e2f",
        "amount": -29400,
        "currency": "IDR",
        "direction": "debit",
        "source": "billing",
        "kind": "email_plan",
        "description": "Email Plan: Starter (1 month)",
        "createdAt": "2026-10-01T03:00:00.000Z",
        "expiresAt": null
      }
    ],
    "total": 128,
    "limit": 50,
    "offset": 0
  }
}

amount is negative for money taken (direction: "debit") and positive for money added (credit). kind names the purchase when it is known, otherwise it is null. total counts every transaction, for paging.

Deposits

A deposit adds money to the wallet. You create it here; a person pays it on its payment page (paymentUrl) by QRIS or bank virtual account, and the wallet is credited as soon as the payment is confirmed. Nothing is charged by creating one.

Create a deposit

POST/account/depositsdryRunIdempotency-Key
Create a top-up and its payment link.

Prop

Type

curl -X POST https://api.helipod.io/api/account/deposits \
  -H "Authorization: Bearer hel_your_key" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: topup-2026-10-26-0001" \
  -d '{ "amount": 500000 }'
Response (201)
{
  "success": true,
  "data": {
    "id": "3b0f6c2e-8f4a-4c55-9a51-2f1d0e7c9a10",
    "number": "DEP-…-1793001234567",
    "amount": 500000,
    "currency": "IDR",
    "status": "pending",
    "paymentUrl": "https://…",
    "paymentMethods": ["QRIS", "Virtual Account"],
    "createdAt": "2026-10-26T06:30:00.000Z",
    "expiresAt": "2026-10-26T09:30:00.000Z",
    "paidAt": null
  }
}

paymentMethods are the methods the payment page offers for this amount: QRIS only up to Rp 267,000, QRIS or virtual account up to Rp 4,999,999, virtual account only from Rp 5,000,000. The link can be paid for 3 hours.

Limits. These protect your account from a script gone wrong. Each is checked before anything is created:

RuleAnswer
One unpaid deposit at a time409 DEPOSIT_PENDING; details.deposit is the unpaid one, with its paymentUrl, so you can send it instead
10 minutes between two deposits (top-ups made in the dashboard count too)429 DEPOSIT_COOLDOWN with a Retry-After header and details.nextAllowedAt
At most 10 deposits in 24 hours429 DEPOSIT_DAILY_LIMIT with Retry-After

An unpaid deposit past its expiresAt no longer counts as unpaid. With an Idempotency-Key, a retry of the same request returns the first deposit instead of being refused.

?dryRun=true creates nothing and tells you whether a deposit would be accepted now:

Response with ?dryRun=true
{ "success": true, "data": { "dryRun": true, "amount": 500000, "currency": "IDR", "paymentMethods": ["QRIS", "Virtual Account"], "linkValidMinutes": 180, "allowed": false, "reason": { "code": "DEPOSIT_COOLDOWN", "message": "…", "details": { "retryAfterSeconds": 412, "nextAllowedAt": "2026-10-26T06:40:00.000Z" } } } }

Deposit status

GET/account/deposits/{depositId}
One deposit and whether it was paid.

Same fields as the create response. status is pending (waiting for payment, paymentUrl set), paid (paidAt set, the wallet was credited) or expired (not paid in time; create a new one). Poll it, or read GET /account/wallet, to see the money arrive.

GET/account/deposits
Your deposits, newest first.

limit (1 to 100, default 20) and offset page through them. Deposits also appear in invoices with type: "deposit".

Invoices

GET/account/invoices
Every invoice, newest first.
{
  "success": true,
  "data": [
    {
      "id": "0f1e2d3c-4b5a-4968-8776-655443322110",
      "number": "INV-0F1E2D3C4B",
      "title": "Wallet top-up",
      "subtitle": null,
      "type": "deposit",
      "amount": 500000,
      "currency": "IDR",
      "status": "paid",
      "paidFromWallet": false,
      "paymentMethod": "qris",
      "paymentUrl": null,
      "expiresAt": "2026-10-02T03:00:00.000Z",
      "paidAt": "2026-10-01T03:04:11.000Z",
      "createdAt": "2026-10-01T03:00:00.000Z"
    }
  ]
}

type is deposit (a wallet top-up), subscription, bundle_purchase or vps_purchase; status is pending, paid, failed, expired or refunded. paymentUrl is set only while an invoice is pending: it is the page where it can be paid.

GET/account/invoices/{invoiceId}
A paid invoice as a document: seller, customer, the line and its date.
{
  "success": true,
  "data": {
    "issuedAt": "2026-10-16T09:20:00.000Z",
    "currency": "IDR",
    "seller": { "name": "...", "brand": "Helipod", "address": "...", "taxId": "...", "nib": "...", "contact": "...", "website": "https://helipod.io" },
    "customer": { "name": "Ana Putri", "organization": null, "phone": "+6281234567890", "location": "Jakarta Selatan, DKI Jakarta" },
    "invoice": {
      "id": "0f1e2d3c-4b5a-4968-8776-655443322110",
      "number": "INV-0F1E2D3C4B",
      "date": "2026-10-01T03:04:11.000Z",
      "title": "Wallet top-up",
      "subtitle": null,
      "method": "qris",
      "amount": 500000,
      "createdAt": "2026-10-01T03:00:00.000Z"
    }
  }
}

An invoice that is not paid yet answers 409 INVOICE_NOT_PAID. Your email address is never included.

Monthly statements

A statement is the invoice for one calendar month (Western Indonesia Time): what you paid in, and what the wallet was used for.

GET/account/statements
The months that have a statement.
{ "success": true, "data": { "months": ["2026-10", "2026-09", "2026-08"] } }
GET/account/statements/{month}
One month, as YYYY-MM.
curl https://api.helipod.io/api/account/statements/2026-09 \
  -H "Authorization: Bearer hel_your_key"
{
  "success": true,
  "data": {
    "invoiceNumber": "HLP-202609-1A2B3C4D",
    "month": "2026-09",
    "period": { "start": "2026-08-31T17:00:00.000Z", "end": "2026-09-30T17:00:00.000Z" },
    "partial": false,
    "issuedAt": "2026-10-16T09:20:00.000Z",
    "currency": "IDR",
    "seller": { "...": "..." },
    "customer": { "...": "..." },
    "paid": [
      { "id": "…", "number": "INV-…", "date": "2026-09-03T02:10:00.000Z", "title": "Wallet top-up", "subtitle": null, "method": "qris", "amount": 500000 }
    ],
    "usage": {
      "charges": [ { "date": "2026-09-04T17:30:00.000Z", "description": "Service api: daily renewal", "amount": 1100 } ],
      "refunds": [],
      "credits": []
    },
    "totals": { "paid": 500000, "charges": 34100, "refunds": 0, "credits": 0 },
    "balanceNow": 482500
  }
}

Amounts in usage are positive: charges are purchases paid from the wallet, refunds money returned to it, credits promotions and adjustments. They explain the wallet and are not part of the invoice total, which is totals.paid. The current month is month to date, with partial: true. A month that has not started answers 400 MONTH_NOT_STARTED.

On this page