-
@ Thefux
2025-05-17 11:29:44the 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: