REST JSON Webhooks SDK

Payment APIs
for Developers

RESTful payment infrastructure, clear documentation, instant sandbox. Integrate payments, KYC and open banking in minutes.

transaction.js
const roxpay = new Roxpay('sk_test_123');

const payment = await roxpay.charges.create({
  amount: 2000,
  currency: 'eur',
  source: 'tok_visa',
  description: 'Order #12345'
});

console.log(payment.status); // 'succeeded'
Benefits

Why developers choose RoxPay

Payment infrastructure built for people who write code. No trade-offs between integration speed and control.

Fast integration

First transaction in under 30 minutes. Ready-made SDKs, complete documentation, instant sandbox.

PCI-DSS L1 security

Automatic tokenization, end-to-end encryption, OAuth2 and Bearer Token authentication.

API-first design

Every feature is available via REST API. No lock-in, no mandatory dashboard.

Latency < 100ms

Multi-region optimized infrastructure. Consistent response times even under load.

Modular architecture

Payments, KYC, open banking, recurring: activate only the modules you need.

Multi-currency & multi-country

Native support for EUR, GBP, USD and 15+ local European payment methods.

Architecture

REST API architecture for payments

Standard protocol, robust authentication, real-time events. Everything over HTTPS + JSON.

RESTful API

  • HTTPS + JSON endpoints
  • URL versioning (/v4/)
  • Cursor-based pagination
  • Rate limiting 600 req/min

Webhooks

  • Real-time push notifications
  • HMAC-SHA256 signature
  • Automatic retry with backoff
  • Event type filters

Authentication

  • Bearer Token for API calls
  • OAuth2 for integrations
  • Automatic API key rotation
  • Optional IP whitelisting
Quick Start

Payment API integration in 3 steps

From API key to first transaction in minutes.

01

Get your API Key

Sign up on the dashboard, generate sandbox credentials and start testing.

02

Install the SDK

Available for Node.js, Python, PHP, Go, Java and .NET. One command, zero config.

03

Send your first request

Create a test payment, verify the response, activate webhooks.

Examples

Payment API code examples

Copy, paste, run. No boilerplate.

cURL
curl -X POST https://api.roxpay.eu/v4/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 2000,
    "currency": "eur",
    "source": "tok_visa",
    "description": "Order #12345"
  }'
Node.js
import Roxpay from 'roxpay';

const client = new Roxpay('sk_test_...');

const charge = await client.charges.create({
  amount: 2000,
  currency: 'eur',
  source: 'tok_visa',
  description: 'Order #12345'
});

console.log(charge.id); // 'ch_1a2b3c...'
Security

API security and authentication

Compliant with the highest financial industry security standards.

PCI-DSS Level 1

Highest level certification. Card data never touches your servers.

TLS 1.3 encryption

All API communications are end-to-end encrypted with latest generation protocols.

OAuth2 + Bearer Token

Flexible authentication for every use case. Automatic key rotation.

3D Secure 2.0

Strong customer authentication (SCA) integrated into the payment flow. Reduces fraud without increasing friction.

Learn more about our security measures: Security & Anti-Fraud

Libraries

SDKs and libraries for payment APIs

Work with your preferred language. Full type support, zero external dependencies.

Events

Real-time payment webhooks and events

Get instant notifications for every state change. No polling, zero latency.

Push notifications

Every event is delivered to your endpoint via POST HTTPS with HMAC-SHA256 signature.

Automatic retry

On failure, automatically retries with exponential backoff for up to 72 hours.

20+ event types

charge.succeeded, refund.created, payout.completed, kyc.approved and many more.

Signature verification

Every webhook includes a cryptographic signature to ensure authenticity and integrity.

Manage recurring payments via webhooks: Recurring Payments

Testing

Sandbox and API test environment

Test every scenario before going live. Isolated data, zero risks.

Isolated environment

Sandbox completely separated from production. Same APIs, test data.

Test cards

Predefined card numbers to simulate successful, declined and 3DS payments.

Test webhooks

Manually trigger webhook events from the dashboard to validate your endpoints.

Performance

API performance and scalability

Infrastructure built to handle millions of transactions without latency degradation.

<100ms
Average API latency
99.99%
Guaranteed uptime
600+
Requests/min per merchant
Multi-AZ
Infrastructure redundancy
Reliability

SLA and infrastructure reliability

Your transactions are protected by redundant, 24/7 monitored infrastructure.

99.99% SLA

Contractual uptime guarantee with automatic penalties for violations.

24/7 monitoring

Dedicated NOC team, automatic alerts, incident response in under 15 minutes.

Dedicated technical support

Direct channel with engineers. Technical tickets with prioritized SLA response.

FAQ

Payment API frequently asked questions

Answers to the most common developer questions.

How long does API integration take?

With official SDKs, the first test transaction can be executed in under 30 minutes. Full production integration typically takes 2-5 business days.

Which payment methods do you support?

Credit/debit cards (Visa, Mastercard, Amex), SEPA transfers, direct debits, digital wallets and 15+ local European payment methods.

How does the sandbox work?

The sandbox is an isolated environment with the same APIs as production. You can use predefined test cards to simulate all scenarios: successful payments, declined, 3D Secure and refunds.

Are webhooks reliable?

Every webhook is delivered with automatic retry (exponential backoff, up to 72h) and includes an HMAC-SHA256 signature to verify authenticity and integrity.

Do you support recurring payments?

Yes. You can create subscriptions with customizable billing cycles, manage upgrades/downgrades and receive webhooks for every lifecycle event.

What is the API rate limit?

600 requests per minute per merchant in production. Higher limits available on request for enterprise volumes.

Start integrating payments today

Free sandbox, complete documentation, dedicated technical support. Everything you need to build.