Powerful Escrow API for Developers
Integrate secure escrow services into your platform in minutes. Simple, powerful, and built for scale.
API Features
Everything you need to build secure escrow functionality into your application.

RESTful API
Clean, intuitive REST API with JSON responses and comprehensive error handling.
Secure Authentication
OAuth 2.0 and API key authentication with role-based access control.
Complete Documentation
Interactive API docs with code examples in multiple programming languages.
Webhooks
Real-time notifications for transaction events and status changes.
Sandbox Environment
Full-featured testing environment with mock transactions and data.
High Performance
99.9% uptime SLA with sub-200ms response times globally.
Quick Start Example
Create your first escrow transaction in just a few lines of code.
// Initialize TrustGuard API Client
const trustguard = require('trustguard-api');
const client = new trustguard.Client({
apiKey: 'your_api_key_here',
environment: 'production'
});
// Create a new escrow transaction
const transaction = await client.transactions.create({
buyer: {
email: 'buyer@example.com',
name: 'John Buyer'
},
seller: {
email: 'seller@example.com',
name: 'Jane Seller'
},
amount: 5000.00,
currency: 'USD',
description: 'Domain name purchase',
items: [{
title: 'example.com',
description: 'Premium domain name',
quantity: 1,
price: 5000.00
}],
inspection_period: 3 // days
});
console.log('Transaction created:', transaction.id);
console.log('Payment URL:', transaction.payment_url);Core API Endpoints
Essential endpoints for managing escrow transactions.
/v1/transactionsCreate a new escrow transaction
/v1/transactions/{id}Retrieve transaction details
/v1/transactions/{id}Update transaction status
/v1/transactions/{id}/releaseRelease funds to seller
/v1/transactions/{id}/cancelCancel transaction and refund
/v1/transactionsList all transactions
Official SDKs & Libraries
Use our official libraries to integrate faster in your preferred language.
Node.js
v2.4.0
Python
v1.8.2
PHP
v1.6.1
Ruby
v1.5.0
Java
v2.1.3
C#
v1.4.2
Real-Time Webhooks
Stay informed about transaction events with our webhook system. Get instant notifications when transactions are created, updated, or completed.
Transaction Events
Get notified of status changes, payments, and completions.
Automatic Retries
Failed webhooks are automatically retried with exponential backoff.
Signature Verification
Verify webhook authenticity with HMAC signatures.
{
"event": "transaction.completed",
"timestamp": "2025-01-15T10:30:00Z",
"data": {
"id": "txn_abc123",
"status": "completed",
"amount": 5000.00,
"currency": "USD",
"buyer": {
"email": "buyer@example.com"
},
"seller": {
"email": "seller@example.com"
}
}
}API Pricing
Transparent, volume-based pricing with no hidden fees.
What's Included:
Ready to Start Building?
Get your API key and start integrating secure escrow services today. Our team is here to help you succeed.
