Welcome to the Precium Payment Orchestration API documentation. This comprehensive guide provides everything you need to integrate Precium's payment orchestration platform into your application, enabling you to accept payments across multiple payment methods through a single, unified API.
Precium is a payment orchestration platform that simplifies payment acceptance by providing:
This documentation is designed for:
Precium offers flexible integration approaches to match your technical requirements and PCI compliance level:
| Integration Type | PCI Scope | Description | Best For |
|---|---|---|---|
| Hosted Checkout | SAQ-A | Redirect to Precium-hosted payment page | Fastest integration, minimal compliance burden |
| Payment Links | SAQ-A | Generate shareable payment URLs | Invoicing, email payments, manual billing |
| Direct Post | SAQ A-EP | Custom checkout with form POST to Precium | Branded checkout experience |
| Server-to-Server | SAQ-D | Full API control with card data handling | PSPs and enterprise with full PCI compliance |
Note: This documentation covers Hosted Checkout, Payment Links, and Direct Post integrations. For Server-to-Server (S2S) integration requiring PCI SAQ-D compliance, refer to the S2S Integration Guide by reaching out to your sales/account manager.
https://gate.reviopay.com/api/v1/
All API requests require Bearer token authentication:
BASH
curl -X GET "https://gate.reviopay.com/api/v1/purchases/" \
-H "Authorization: Bearer YOUR_API_KEY"
| Resource | Description |
|---|---|
/clients/ | Customer records with contact and billing information |
/purchases/ | Payment transactions and invoices |
/billing_templates/ | Subscription billing configurations — no longer offered to new integrations |
/webhooks/ | Event notification subscriptions |
/payouts/ | Disbursements to recipients — not yet available |
A Client represents a customer in your system. Creating a client record enables:
A Purchase represents a payment request. Each purchase includes:
A Billing Template defines recurring billing rules:
When a customer pays with force_recurring: true, their payment method is tokenized for future charges without requiring re-entry of payment details.
flowchart LR
subgraph Your["Your Application"]
A[Backend Server]
B[Frontend/Website]
end
subgraph Precium["Precium Platform"]
C[API Gateway]
D[Hosted Checkout]
E[Payment Processing]
end
subgraph Methods["Payment Methods"]
F[Card Networks]
G[Bank Partners]
H[Wallet Providers]
end
A -->|API Calls| C
B -->|Redirect| D
C --> E
E --> F
E --> G
E --> H
D -->|Callback| A
D -->|Redirect| B
This documentation suite consists of the following guides:
| Document | Description |
|---|---|
| Quick Start | Get your first payment working in minutes |
| Integration Guide | Complete reference for all payment scenarios |
| Error Reference | Error codes, causes, and resolution steps |
| Code Examples | Production-ready code in multiple languages |
| Reconciliation | Settlement and financial reporting |
| Testing Guide | Test scenarios and sandbox testing |
| Troubleshooting | Common issues and solutions |
| Glossary | Payment terminology definitions |
Before integrating, ensure you have:
flowchart TD
A[1. Create Client] --> B[2. Create Purchase]
B --> C[3. Redirect to checkout_url]
C --> D{Payment Completed?}
D -->|Success| E[4. Receive Webhook]
D -->|Failure| F[Handle Failure]
E --> G[5. Fulfill Order]
BASH
# 1. Create a purchase
curl -X POST "https://gate.reviopay.com/api/v1/purchases/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"client": {
"email": "customer@example.com"
},
"purchase": {
"currency": "ZAR",
"products": [
{
"name": "Product Name",
"price": 10000
}
]
},
"brand_id": "YOUR_BRAND_ID",
"success_redirect": "https://www.example.com/success",
"failure_redirect": "https://www.example.com/failure"
}'
# Response includes checkout_url - redirect customer there
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://gate.reviopay.com/api/v1/ | Testing and development |
| Production | https://gate.reviopay.com/api/v1/ | Live transactions |
Note: Sandbox and Production use the same base URL but different API credentials. Ensure you use sandbox credentials for testing.
For sandbox testing:
| Field | Value |
|---|---|
| Card Number | 4444 3333 2222 1111 |
| Expiry | Any future date |
| CVC | 123 |
| Cardholder | Any name (Latin characters) |
| Resource | Description |
|---|---|
| API Reference | gate.reviopay.com/api/ |
| Dashboard | gate.reviopay.com/login |
| Support Email | support@precium.com |
Ready to integrate? Start with the Quick Start Guide to process your first test payment in minutes.
© 2026 Precium. All rights reserved.