Skip to main content

Command Reference

Complete reference for all ikw CLI commands. Every command supports the global flags (--json, --dry-run, --debug, --trace, --request-id, --idempotency-key).

payments

Manage PaymentIntents.

ikw payments <subcommand>
SubcommandDescription
listList payment intents
inspect <id>Inspect a payment intent
createCreate a payment intent
confirm <id>Confirm a payment intent
cancel <id>Cancel a payment intent
refund <id>Refund a payment
refunds <id>List refunds for a payment

payments create

ikw payments create \
--amount 5000 \
--currency XOF \
--description "Order #123" \
--customer cus_abc123 \
--metadata '{"order_id": "123"}'
FlagRequiredDescription
--amount <n>Amount in smallest currency unit
--currency <code>Currency code (e.g., XOF)
--description <text>Payment description
--metadata <json>JSON metadata object
--customer <id>Customer ID
--customer-email <email>Customer email
--customer-phone <phone>Customer phone

payments confirm

ikw payments confirm pi_abc123 \
--type mobile_money \
--mm-country CI \
--mm-operator orange_ci \
--mm-msisdn +2250700000001
FlagRequiredDescription
--type <type>mobile_money or card
--mm-country <code>Mobile money country
--mm-operator <code>Mobile money operator
--mm-msisdn <phone>Mobile money phone number
--card-token <token>Card token
--return-url <url>Return URL for 3DS

payments refund

ikw payments refund pi_abc123 --amount 2500 --reason "Customer request"
FlagDescription
--amount <n>Partial refund amount (default: full)
--reason <text>Refund reason

customers

Manage customers.

ikw customers <subcommand>
SubcommandDescription
listList customers
inspect <id>Inspect a customer
createCreate a customer
update <id>Update a customer
delete <id>Delete a customer

customers create

ikw customers create \
--name "Aminata Koné" \
--email aminata@example.com \
--phone +2250700000000

payouts

Manage payouts.

ikw payouts <subcommand>
SubcommandDescription
listList payouts
inspect <id>Inspect a payout
createCreate a payout
cancel <id>Cancel a payout

payouts create

ikw payouts create \
--amount 50000 \
--currency XOF \
--type mobile_money \
--phone +2250700000000 \
--operator orange_ci

invoices

Manage invoices.

ikw invoices <subcommand>
SubcommandDescription
listList invoices
inspect <id>Inspect an invoice
createCreate an invoice
finalize <id>Finalize a draft invoice
void <id>Void an invoice

subscriptions

Manage subscriptions.

ikw subscriptions <subcommand>
SubcommandDescription
listList subscriptions
inspect <id>Inspect a subscription
createCreate a subscription
cancel <id>Cancel a subscription

products

Manage products and prices.

ikw products <subcommand>
SubcommandDescription
listList products
inspect <id>Inspect a product
createCreate a product

events

View API events.

ikw events <subcommand>
SubcommandDescription
listList recent events
inspect <id>Inspect an event
ikw events list --limit 10
ikw events inspect evt_abc123

balances

View account balances.

ikw balances list

api-keys

Manage API keys.

ikw api-keys <subcommand>
SubcommandDescription
listList API keys
createCreate an API key
revoke <id>Revoke an API key

checkout

Manage checkout sessions.

ikw checkout <subcommand>
SubcommandDescription
listList checkout sessions
inspect <id>Inspect a checkout session
createCreate a checkout session

Manage payment links.

ikw payment-links <subcommand>
SubcommandDescription
listList payment links
inspect <id>Inspect a payment link
createCreate a payment link

radar

Radar fraud detection.

ikw radar <subcommand>
SubcommandDescription
rules listList fraud rules
rules inspect <id>Inspect a rule
reviews listList review cases

reporting

Reports and exports.

ikw reporting <subcommand>
SubcommandDescription
runs listList report runs
runs createCreate a report run

team

Team management.

ikw team <subcommand>
SubcommandDescription
listList team members
inviteInvite a team member

settings

Merchant settings.

ikw settings <subcommand>
SubcommandDescription
getGet current settings
updateUpdate settings

compliance

Compliance and KYC.

ikw compliance <subcommand>
SubcommandDescription
statusView compliance status
uploadUpload compliance documents

health

Platform health checks.

ikw health check

Returns the health status of the Ikawaari API.


inspect

Deep inspect any resource by ID.

ikw inspect <resource_type> <id>

replay

Replay webhook events.

ikw replay <event_id>

test-mode

Toggle test mode.

ikw test-mode status
ikw test-mode enable
ikw test-mode disable

dashboard

Open the dashboard in your browser.

ikw dashboard open

exports

Export data.

ikw exports <subcommand>
SubcommandDescription
paymentsExport payments data
customersExport customers data

ops

Operator/admin commands (requires ops token).

ikw ops <subcommand>
SubcommandDescription
settings listList operator settings
routing listList routing overrides
incidents listList incident banners

connect

Connected accounts.

ikw connect <subcommand>

issuing

Card issuing.

ikw issuing <subcommand>

tax

Tax management.

ikw tax <subcommand>

identity

Identity verification.

ikw identity <subcommand>

climate

Climate / carbon estimates.

ikw climate <subcommand>

marketplace

Marketplace features.

ikw marketplace <subcommand>

financial-connections

Financial connections.

ikw financial-connections <subcommand>

workflows

Automation workflows.

ikw workflows <subcommand>
SubcommandDescription
listList workflows
inspect <id>Inspect a workflow
runs listList workflow runs

accounts

Account management.

ikw accounts <subcommand>