ZyraPay Documentation

ZyraPay helps you get paid in crypto and Pi. Pick the integration that matches what you want to do, and we'll take you straight to it.

How a ZyraPay payment flows
Customer
pays in Pi
ZyraPay
verifies on-chain
Your server
signed webhook
Order
fulfilled
A customer pays in Pi → ZyraPay verifies on-chain → your server receives a signed webhook.

Which one do you need?

Choose the use case that sounds like you — most people only need one:

The same for all

No matter which you pick, you authenticate the same way (an API key) and you get told about payments the same way (a webhook — a message we send to your server).

How it works

Whichever product you use, the steps are the same:

  1. Create a project in the dashboard and copy your API key.
  2. Call the API to start a payment, then send your customer to it.
  3. We send your server a message when the payment arrives — you finish the order.

Your first request

All requests go to https://api.zyrapay.net/v1. You prove who you are by sending your API key in the x-api-key header. Here's a checkout being created:

curl https://api.zyrapay.net/v1/checkout \
  -H "x-api-key: $ZYRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "items": [{ "name": "Pro plan", "amount": 5, "quantity": 1 }],
    "successUrl": "https://yourapp.com/success",
    "cancelUrl": "https://yourapp.com/cancel"
  }'

Next step

New here? Follow the Quickstart to take a test payment from start to finish in about five minutes.

Search docs

Search the documentation

Ask the AI assistant