API Guide
API guide
Build. Integrate. Transact.
RESTful API
Simple and consistent endpoints using standard HTTP methods.
Bank-grade security
OAuth 2.0 authentication, end-to-end encryption and IP allowlisting.
Real-time updates
Webhooks keep your system in sync with transaction events.
Developer friendly
Well documented endpoints, SDKs and a sandbox environment.
Scalable infrastructure
Built for reliability, performance and global scale.
Expert support
Dedicated developer support to help you succeed.
How a transaction works via API
1. Create transaction
Create a transaction with terms, parties, items and your commission.
2. Fund transaction
The buyer funds the transaction securely through Rbcpay.
3. Approvals
The buyer approves the transaction and funds are confirmed.
4. Deliver or fulfil
The seller delivers the items or fulfils the agreed terms.
5. Release funds
The buyer confirms receipt and funds are released to the seller.
6. Everyone is paid
Rbcpay releases the commission to you in the same step.
Developer resources
API overview
https://api.rbcpay.com/v1 Authentication
Authorization: Bearer {access_token} Transactions
cURL
curl -X POST https://api.rbcpay.com/v1/transactions \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"title": "New Transaction",
"amount": 12500.00,
"currency": "CAD",
"buyer": {"email": "buyer@example.com"},
"seller": {"email": "seller@example.com"},
"items": [{"name": "Server equipment", "qty": 1}],
"commission": 250.00
}' Webhooks
Webhook payload
POST https://your-server.example.com/rbcpay/webhook
Content-Type: application/json
{
"event": "transaction.status_changed",
"transaction_id": "txn_00000000",
"status": "funded",
"occurred_at": "2026-08-27T10:15:00Z"
} Errors
Error response
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/json
{
"error": {
"code": "invalid_currency",
"message": "The currency is not supported for this transaction.",
"field": "currency"
}
} Rate limits
SDKs and libraries
Sandbox environment
Test your integration in a safe and realistic sandbox environment.
API documentation
Explore detailed guides, endpoints, parameters and example responses.
SDKs and libraries
Speed up development with our official SDKs and code libraries.
Developer support
Our developer success team is here to help you at every step.

