Skip to main content
POST
Pay a BOLT11 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

Pay a BOLT11 invoice from the authenticated user wallet.

invoice
string
required
Example:

"lnbc10u1..."

host
string | null
Example:

"sats4ai.com"

maxAmountMsats
integer | null
Example:

100000

maxAmountSats
integer | null
Example:

100

timeoutMs
integer | null
Example:

12000

Response

Successful response

data
object