PayGoingGlobal API Documentation
Build powerful payment experiences with our comprehensive APIs. Accept UPI payments, orchestrate multiple providers, and integrate stablecoins - all through a single unified API.
Getting Started
Base URL
Quick Start Example
curl -X POST https://api.paygoingglobal.com/v1/payments \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 5000,
"currency": "INR",
"payment_method": "upi",
"customer": {
"email": "customer@example.com",
"phone": "+919876543210"
}
}'
Authentication
All API requests must be authenticated using your API key. Include your API key in the Authorization header:
Security Note: Keep your API keys secure and never expose them in client-side code. Use environment variables and server-side proxy endpoints.
API Endpoints
Create Payment
POST /v1/payments
Creates a new payment request for UPI, card, or stablecoin payments.
{
"amount": 10000, // Amount in smallest currency unit (paise for INR)
"currency": "INR", // ISO 4217 currency code
"payment_method": "upi", // "upi", "card", "stablecoin"
"description": "Order #12345",
"customer": {
"email": "customer@example.com",
"phone": "+919876543210",
"name": "John Doe"
},
"metadata": {
"order_id": "12345",
"product": "Premium Plan"
}
}
Get Payment Status
GET /v1/payments/:payment_id
Retrieves the current status and details of a payment.
List Payments
GET /v1/payments
Lists all payments with optional filtering and pagination.
Webhooks
Receive real-time notifications about payment events by configuring webhook endpoints in your dashboard.
payment.succeeded
Triggered when a payment is successfully completed
payment.failed
Triggered when a payment fails or is declined
payment.pending
Triggered when a payment is awaiting confirmation
Testing
Use our sandbox environment to test your integration without processing real payments.
Test Credentials
test_sk_1234567890abcdef
test@paygoingglobal
+919999999999