A dev-only stand-in for Jèko, speaking its dialect: it takes payment requests, shows a checkout, posts the signed
TRANSACTION_COMPLETED webhook, and sends the browser back to successUrl or
errorUrl.
Webhooks coming back 401? Compare the fingerprint with printf '%s' "<secret>" | shasum -a 256 on the API's secret.
Opens a 5 000 F payment request whose return URLs come back to this page. The webhook still goes to
WEBHOOK_URL.
| Method | Path | Purpose |
|---|---|---|
| POST | /partner_api/payment_requests | Jèko's: create a payment request, answer { redirectUrl, … }. |
| GET | /pay_request/pr/{id} | The checkout the browser is sent to. |
| POST | /pay_request/pr/{id}/pay | Post the webhook, answer { redirectUrl: successUrl }. Takes the dev controls. |
| POST | /pay_request/pr/{id}/back | Answer { redirectUrl: errorUrl }, no webhook. |
| GET | /transactions | In-memory log of everything that happened. |
| GET | /health | {"status":"ok"} |