Skip to main content
POST
Create a Lightning invoice from the authenticated user's wallet.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create a Lightning invoice from the authenticated user wallet.

amountSats
integer
required
Example:

1000

description
string | null
Example:

"Fund agent wallet"

Response

Successful response

data
object