Dhali Pay as you Go

Dhali Pay as you Go

Pay per request instead of buying a plan, through Dhali payment channels. You need one or the other, not both.

Dhali Payment Terminal

Base URL

Base URL
https://xrplto.dhali.io

The same endpoints, without /v1 — for example https://xrplto.dhali.io/tokens?limit=5&sort=vol24hxrp.

How to pay as you go

  1. Open the Dhali Payment Terminal and create a payment channel.
  2. Deposit enough XRP for your usage.
  3. Click "Get payment claim" and store the PAYMENT_CLAIM value safely.
  4. Send it with every request in the Payment-Claim header. Top up from the terminal when it runs low.
Example
PAYMENT_CLAIM='<your claim>'
curl -H "Payment-Claim: $PAYMENT_CLAIM" "https://xrplto.dhali.io/tokens?limit=5"

Resources