ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiMy wallet

Buy my lightning address — returns the pending address + BOLT11 invoice at the real LNbits price

POST
/api/v1/my-wallet/nip5/addresses

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Example Request
curl -X POST 'http://localhost:3001/api/v1/my-wallet/nip5/addresses'
Example Response201
Empty