Skip to main content
The PayOnProof API provides RESTful endpoints for executing cross-border remittances via Stellar anchors, comparing routes, generating proofs of payment, and managing anchor integrations.

Base URL

https://api.payonproof.com
All API requests are made over HTTPS. The API returns JSON responses and accepts JSON request bodies.

Authentication

Most endpoints are publicly accessible. Administrative operations (/api/anchors/ops) require proper authorization through cron secrets or Vercel cron headers. See Authentication for details.

Endpoint categories

Remittances

Execute and manage cross-border transfers through Stellar anchors:

Anchors

Discover and interact with Stellar anchor services:

Proofs

Generate cryptographic proofs of completed transactions:

Operations

Health and system diagnostics:

Rate limits

Currently no rate limits are enforced on public endpoints. Administrative endpoints require proper authorization.

Error handling

All endpoints return standard HTTP status codes:
CodeMeaning
200Success
400Bad Request - Invalid parameters
401Unauthorized - Missing or invalid authorization
405Method Not Allowed
500Internal Server Error
502Bad Gateway - External service failure (anchor, Horizon, etc.)
503Service Unavailable - System degraded

Error response format

{
  "error": "Missing field: transactionId"
}

CORS

CORS is enabled for all public endpoints with the following methods:
  • GET, POST, OPTIONS
Preflight OPTIONS requests are handled automatically.

Build docs developers (and LLMs) love