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.brAuthentication
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYSee Authentication.
Quick start
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
- Use cases: Stable ↔ PIX · Lightning ↔ PIX
- Reference: KYC · Wallet · Deposit · Payout · Webhooks