Replying to Avatar Thefux

the api could be easily tested via curl

curl -i -X POST https://ecash.otrta.io/v1/chat/completions \

-H "X-PAYMENT-SATS: " \

-H "Content-Type: application/json" \

-d '{ "model": "meta-llama/llama-4-maverick-17b-128e-instruct-fp8", "messages": [{"role": "user", "content": "Tell me the difference between ecash and regular money."}] }'

The response includes a new header field (X-CHANGE-SATS) that provides an eCash token with change.

x-change-sats:

30 SATs per request are minimum

Reply to this note

Please Login to reply.

Discussion

No replies yet.