ZyloPaydocs

Introduction

Every endpoint of the ZyloPay API v1, generated from the OpenAPI 3.1 specification.

The ZyloPay API is organised around REST. It accepts JSON bodies, returns JSON, uses standard HTTP status codes and authenticates with a secret API key sent as a bearer token. The key chooses the mode: zp_test_sk_… works on the Monad testnet sandbox, zp_live_sk_… on mainnet. Nothing else changes between modes.

Base URL

https://zylopay-api.fly.dev/api/v1

Current API version: 2026-09-28 (see versioning). The OpenAPI 3.1 document behind this reference is at /openapi/v1.json: use it to generate clients or import the API into a tool.

Authentication

curl https://zylopay-api.fly.dev/api/v1/balance \
  -H "Authorization: Bearer $ZYLOPAY_SECRET_KEY"

Read Authentication for scopes, rotation and the IP allowlist.

Every endpoint has a curl example and a Node example with @zylopay/node. The Node SDK is pre-release: it is not on npm yet.

Endpoints

Payment intents

EndpointDescription
The payment intent objectPaymentIntent attributes and an example
GET /v1/payment_intentsList payment intents
POST /v1/payment_intentsCreate a payment intent
GET /v1/payment_intents/{id}Retrieve a payment intent
POST /v1/payment_intents/{id}/cancelCancel a payment intent

Payments

EndpointDescription
The payment objectPayment attributes and an example
GET /v1/paymentsList payments
GET /v1/payments/{id}Retrieve a payment

Refunds

EndpointDescription
The refund objectRefund attributes and an example
GET /v1/refundsList refunds
POST /v1/refundsCreate a refund
GET /v1/refunds/{id}Retrieve a refund

Terminals

EndpointDescription
The terminal objectTerminal attributes and an example
GET /v1/terminalsList terminals
GET /v1/terminals/{id}Retrieve a terminal

Balance

EndpointDescription
The balance objectBalance attributes and an example
GET /v1/balanceRetrieve the balance

Events

EndpointDescription
The event objectEvent attributes and an example
GET /v1/eventsList events
GET /v1/events/{id}Retrieve an event

Webhook endpoints

EndpointDescription
The webhook endpoint objectWebhookEndpoint attributes and an example
The webhook delivery objectWebhookDelivery attributes and an example
GET /v1/webhook_deliveries/{id}Retrieve a delivery
POST /v1/webhook_deliveries/{id}/retryResend a delivery
GET /v1/webhook_endpointsList webhook endpoints
POST /v1/webhook_endpointsCreate a webhook endpoint
GET /v1/webhook_endpoints/{id}Retrieve a webhook endpoint
PATCH /v1/webhook_endpoints/{id}Update a webhook endpoint
DELETE /v1/webhook_endpoints/{id}Delete a webhook endpoint
GET /v1/webhook_endpoints/{id}/deliveriesList deliveries of an endpoint
POST /v1/webhook_endpoints/{id}/rotate_secretRotate the signing secret
POST /v1/webhook_endpoints/{id}/testSend a test event

Webhooks

On this page