API
Streams API
Generate URL
POST /long-term-payment/generate-stream-payment-url
X-API-KEY: <key>
{ "payment_id": "<stream-id>" }
{ "payment_url": "https://…/stream_payment?payment_id=..." }
Check stream status
POST /long-term-payment/check-payment-status
Public. Body: { "payment_id" }. Returns { "status": "ACTIVE"|"INACTIVE"|"ARCHIVED"|"EXPIRED" }.
Redirect into chooser
GET /long-term-payment/redirect?payment_id=...&amount=...
Public redirect into the payment chooser for the given amount.