# examples ## Charge Create a new charge: `cargo run --example charge -- --key= create --amount=2000` Get a charge with the given id: `cargo run --example charge -- --key= get ` List paid charges: `cargo run --example charge -- --key= list` ## Refund Create a new refund: `cargo run --example refund -- --key= create --id= --address=
` Get a refund with the given id: `cargo run --example refund -- --key= get ` List paid refunds: `cargo run --example refund -- --key= list` ## Withdrawal Create a new withdrawal with a lightning invoice: `cargo run --example withdrawal -- --key= create --invoice=` Create a new withdrawal with a bitcoin address: `cargo run --example withdrawal -- --key= create --address=
--amount=` Get a withdrawal with the given id: `cargo run --example withdrawal -- --key= get ` List paid withdrawals: `cargo run --example withdrawal -- --key= list` ## Account Retrieve account balance: `cargo run --example account -- --key=` ## Currencies List supported currencies: `cargo run --example currencies` ## Rates List current rates: `cargo run --example rates`