Developer Resources

Everything you need to integrate our payment platform into your application. Simple, powerful, and well-documented.

Unified Payment API

A single RESTful API for multiple payment providers, smart routing, fraud detection, and analytics.

  • JSON responses & webhooks
  • SDKs for popular languages
  • Full sandbox for testing
View Documentation
curl -X POST https://api.platform.com/v1/payments \
-H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json" \
-d '{
"amount": 2000,
"currency": "usd",
"customer_email": "user@example.com"
}'

API Features

Authentication

Secure API key auth with separate test & live keys.

  • • Bearer tokens
  • • Key rotation
  • • Role-based scopes

Endpoints

Comprehensive endpoints for payments, customers, and analytics.

  • • Payments
  • • Customers
  • • Webhook events

Sandbox

Test card numbers & webhook replay for realistic dev workflows.

  • • Test data
  • • Simulated errors
  • • Webhook testing

Sample Integration

A simple JavaScript example to create a payment.

// Create a payment
const payment = await fetch("https://api.platform.com/v1/payments", {
method: "POST",
headers: {
Authorization: "Bearer sk_test_...",
"Content-Type": "application/json",
},
body: JSON.stringify({
amount: 2000, // $20.00
currency: "usd",
customer_email: "customer@example.com",
return_url: "https://yoursite.com/success",
}),
});
const result = await payment.json();
console.log("Payment URL:", result.payment_url);

Ready to start building?

Generate your API keys in seconds and integrate with confidence.