Developers

An API you'll actually enjoy

RESTful, predictable, and beautifully documented. Idempotent requests, granular webhooks, and SDKs in every language your team already loves.

From zero to your first payment in minutes

Install an SDK, drop in your test key, and create a payment. Test mode mirrors production exactly — including webhooks — so there are no surprises on launch day.

  • Idempotency keys on every write request
  • Versioned API with backwards compatibility
  • Realistic sandbox with simulated events
  • Clear, actionable error messages
quickstart.js
// 1. Install the SDK
//    npm install voltpay-node

import Voltpay from "voltpay-node";
const voltpay = new Voltpay(process.env.VOLTPAY_SECRET_KEY);

// 2. Create a payment intent
const intent = await voltpay.payments.create({
  amount: 4900,
  currency: "usd",
  automatic_payment_methods: { enabled: true },
});

// 3. Confirm it on the client with intent.client_secret
SDKs & Libraries

Official libraries in every major language

Type-safe, idiomatic, and maintained by our team. Pin a version and upgrade on your schedule.

Node.js
npm install voltpay-node
Python
pip install voltpay
Ruby
gem install voltpay
PHP
composer require voltpay/voltpay-php
Go
go get github.com/voltpay/voltpay-go
Java
implementation 'com.voltpay:voltpay-java'
.NET
dotnet add package Voltpay.net
React
npm install @voltpay/react
API Reference

Predictable, resource-oriented endpoints

Every resource follows the same conventions for pagination, errors, expansion, and idempotency.

POST/v1/payments
GET/v1/payments/:id
POST/v1/refunds
POST/v1/customers
POST/v1/subscriptions
POST/v1/payouts
response.json
{
  "id": "pay_3Nq8kL2eZvKYlo2C",
  "object": "payment",
  "amount": 4900,
  "currency": "usd",
  "status": "succeeded",
  "payment_method": {
    "type": "card",
    "card": { "brand": "visa", "last4": "4242" }
  },
  "risk": { "score": 6, "level": "normal" },
  "created": 1718500000,
  "livemode": false
}
Every response is fully documented with copy-paste examples.

Real-time webhooks for everything

Subscribe to 80+ event types, verify signatures with one line, and replay any event from the dashboard. Automatic retries with exponential backoff keep your systems in sync.

payment.succeededpayment.failedrefund.createdsubscription.createdsubscription.canceledpayout.paiddispute.openedinvoice.payment_failed
All systems operational

99.99% historical uptime

Transparent, real-time status and incident history. We publish latency and availability for every API surface.

View status page

API

99.99%

Dashboard

99.98%

Webhooks

99.97%

Checkout

100%

Build something great

Grab your test keys and ship your first payment today. Our developer advocates are here when you need them.