Getting Started

Start integrating with the Hodle API.

Accept Lightning payments, convert between BRL and crypto, and send PIX payouts.

Base URL

https://api.hodle.com.br

Authentication

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

See Authentication.

Quick start

Issue a Lightning invoice that pays out via PIX
curl -X POST https://api.hodle.com.br/api/lightning/invoice \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "value": 1000,
    "pixKey": "user@email.com",
    "pixKeyType": "EMAIL"
  }'

Return the invoice to the payer. Once paid, it funds a PIX payout to the provided key.

Where to next