Developers

Payments, as an API call.

Everything in the dashboard, available from your own stack. Create checkouts, issue refunds and track your balance with the RunePay API.

Quickstart

From key to first sale.

Plain HTTPS and JSON. Any language that can make a request can take a payment.

.env
# Dashboard → Developers → Create key
RUNEPAY_KEY=sk_test_…

# Live keys (sk_live_…) unlock once your
# account has been approved.

The full walkthrough, with test cards and webhook verification, is in the quickstart guide.

No code first

Payment links and hosted checkout need zero integration. Reach for the API only when you need it.

One object model

Checkouts, payments, refunds and payouts — the same objects you see in the dashboard.

Safe to retry

Send an Idempotency-Key with any POST. A retried request returns the original result instead of charging twice.

Reference

The API, at a glance.

Authenticate with Authorization: Bearer sk_…. Amounts are integers in the smallest currency unit. Errors come back as { "error": { "type", "code", "message" } }. Lists return { "data", "has_more" }; page with limit (1–100) and starting_after.

Full API reference
Webhooks

Events, signed. Retried until you answer.

Every event is signed with HMAC-SHA256 in the RunePay-Signature header and retried with backoff for up to 72 hours if your endpoint doesn’t return 2xx.

EVENT TYPES
payment.succeeded
payment.failed
checkout.session.completed
refund.succeeded
dispute.created
dispute.closed
payout.paid
Verify signatures and handle events →