Skip to main content
This section provides the complete technical specification for the Rebell Payments API. Use this reference alongside the Payment Integration guides for implementation details and best practices.

Base URLs

Sandbox

For development and testing. Payments are simulated.

Production

Live environment. Requires merchant onboarding.
Sandbox and production use separate credentials. Keys registered in sandbox do not carry over to production.

Authentication

All API requests require RSA-SHA256 signature authentication. Every request must include these headers:

Signature Construction

The signature is computed over a signing string built from:
Example signing string:
For detailed signing implementation with code examples in Node.js, Python, and Java, see Authentication & Environments or the Authentication Deep Dive.

Request Format

All requests use JSON with the following conventions:
  • Amounts are specified in minor units (cents). Example: 1250 = €12.50
  • Timestamps use ISO 8601 format in UTC (with Z suffix)
  • IDs must be unique per transaction (paymentRequestId serves as idempotency key)
Example Request Body

Response Format

All responses include a result object indicating the outcome:
Success Response

Result Status Codes

Never assume the initial API response is final. Always implement webhooks to receive the authoritative payment result.

Available Endpoints

Payments

Webhooks

Error Handling

When a request fails, the response includes error details:
Error Response

Common Error Codes

For complete error reference, see Error Handling & Result Codes.

Rate Limits

Testing in Sandbox

The sandbox environment simulates the full payment flow:
  1. Create payments using test credentials
  2. Simulate user actions - payments auto-complete after creation
  3. Receive webhooks to your configured endpoint
  4. Query status using the Inquiry API
Test all error scenarios in sandbox before going to production. See the Testing Checklist for comprehensive test cases.

SDK & Code Examples

Complete signing and API client implementations are available in the Authentication Deep Dive:
  • Node.js - RebellClient class with full signing
  • Python - RebellClient class with cryptography library
  • Java - Signing utilities and HTTP client examples

Quick Integration Guide

Step-by-step integration walkthrough

Authentication Deep Dive

Detailed signing implementation

Webhooks

Webhook setup and signature verification

Error Handling

Complete error codes reference