Wallet
Create deposit
POST
/api/merchants/deposit/lightningGenerate a Lightning invoice or on-chain BTC address to fund your merchant wallet.
Authentication
Accepts either an API key (X-API-Key) or a dashboard JWT (Authorization: Bearer …).
Body parameters
amount_satsnumberrequireddescriptionstringoptionalPOST
/api/merchants/deposit/lightningcurl --request POST "https://api.trevi.cash/api/merchants/deposit/lightning" \
--header "Content-Type: application/json" \
--header "X-API-Key: $BTPAY_API_KEY" \
--data '{ "amount_sats": 50000 }'Was this page helpful?
