API Reference

Create a Lightning Address

Create and associate a lightning address to an IBEX Hub account

The IBEX Hub account tied to generated lightning address is credited every time a payment is made to lightning address.

Multiple lightning addresses could be associated to an IBEX Hub account

Webhook

Every time someone pays this lnurl, you will be notified via the webhook.
The webhook has the following body:

{
  "hash": string,
  "settledAtUtc": string,
  "receivedMsat": int,
  "webhookSecret": string,
  "transaction": {
    "id": srting,
    "createdAt": string,
    "accountId": string,
    "amount": float,
    "networkFee": float,
    "exchangeRateCurrencySats": float,
    "currencyID": int,
    "transactionTypeId": int,
    "invoice": {
      "hash": string,
      "bolt11": string,
      "preImage": sring,
      "memo": string,
      "creationDateUtc": string,
      "expiryDateUtc": string,
      "settleDateUtc": string,
      "amountMsat": int,
      "receiveMsat": int,
      "stateId": int,
      "state": {
        "id": int,
        "name": string,
        "description": string
      }
    }
  },
  "lightningAddress": {
    "id": string,
    "accountId": string,
    "username": string
  }
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!