Skip to main content

lium topup

Add funds with a stablecoin or a card. The key needs the billing scope.

lium topup currencies​

List the stablecoins and networks you can pay with.

Usage

lium topup currencies [OPTIONS]

Flags

FlagWhat it does
--refreshFetch the list again instead of using the cache
--jsonPrint as JSON

Example

lium topup currencies

lium topup create​

Create a stablecoin invoice. It prints the deposit address and the exact amount to send from your wallet.

Send the exact amount, on the network shown, before the invoice expires.

Usage

lium topup create --amount USD --currency CODE --network NAME [OPTIONS]

Flags

FlagWhat it does
-a, --amount USDAmount in USD
-c, --currency CODEStablecoin, e.g. USDT
-n, --network NAMENetwork, e.g. tron
--wait SECONDSWait for the funds to arrive
--jsonPrint as JSON

Example

lium topup create -a 20 -c USDT -n tron

Create a card payment page for a person to pay. Nothing is charged by this command.

Usage

lium topup link --amount USD [OPTIONS]

Flags

FlagWhat it does
-a, --amount USDAmount in USD, at least $10
--wait SECONDSWait for the funds to arrive
--jsonPrint as JSON

Example

lium topup link -a 10

lium topup card​

Charge a card saved on the account.

Usage

lium topup card --amount USD [OPTIONS]

Flags

FlagWhat it does
-a, --amount USDAmount in USD, at least $10
--card PM_IDWhich saved card (default: the default card)
--idempotency-key KEYRepeat with the same key and amount to avoid a second charge
--wait SECONDSWait for the funds to arrive
-y, --yesCharge without asking
--jsonPrint as JSON (needs --yes)

Example

lium topup card -a 50

A 402 with a next_action_url is still open: hand the URL to the cardholder and repeat only with the same --idempotency-key. A new key opens a second payment that can also be charged.

lium topup wait​

Wait until a payment shows on your balance.

Usage

lium topup wait [OPTIONS]

Flags

FlagWhat it does
--above USDWait for the balance to rise above this (default: the balance now)
--timeout SECONDSGive up after this long (default 600)
--jsonPrint as JSON

Example

lium topup wait --above 0 --timeout 900