Skip to main content

Overview

Use this endpoint to poll the current invoice payment status for a session (for example, to update a checkout UI while the user is paying).

Authentication

Requires:
  • x-session-token: pst_...
  • x-signature: sig_...

Request

Endpoint:
  • GET /api/v1/payments/payment-status
Playground (interactive reference): Example:

Response

If status is underpaid, fetch session details to read the locked network/token:

Errors

  • 401 invalid session token/signature
  • 404 session not found / expired

Examples

  • For realtime updates, prefer WebSockets when available.
Next: Payment addresses