API ReferenceWooCommerceSDKssoonWebhookssoon

Email

Read the claim email template

GET/api/merchants/email-template

The template used for the cashback claim email sent to customers who paid without a Lightning address.

  • This is the email carrying the claim link described in the cashback guide. The email carries no funds — only a link.

Authentication

Accepts either an API key (X-API-Key) or a dashboard JWT (Authorization: Bearer …).

GET/api/merchants/email-template
curl "https://api.trevi.cash/api/merchants/email-template" --header "X-API-Key: $TREVI_API_KEY"