Payment Processing API
RESTful API with comprehensive documentation, webhook support, and SDKs for all major languages. Built for developers who need full control.
API Features
RESTful Design
Simple, predictable API structure with JSON responses
<200ms Response
Lightning-fast API response times globally
Secure by Default
TLS 1.3, OAuth 2.0, webhook signatures
Developer Tools
RESTful API
Comprehensive docs
SDKs (PHP, Python, Node.js, Ruby)
Webhook events
Sandbox environment
Postman collection
API versioning
Rate limiting
Error handling guides
Quick Start
// Initialize the client
const GetPayment = require('@getpayment/sdk');
const client = new GetPayment('sk_live_...');
// Create a payment
const payment = await client.payments.create({
amount: 10000, // $100.00
currency: 'usd',
payment_method: {
card: {
number: '4242424242424242',
exp_month: 12,
exp_year: 2028,
cvc: '123'
}
}
});
console.log(payment.status); // 'succeeded'