7API Endpoints Reference
Complete reference of all SaligPay API endpoints:
| Endpoint | Method | Description | Authentication |
|---|---|---|---|
| /api/oauth/authenticate | POST | Authenticate and get access token | Client credentials |
| /api/oauth/jwt/refresh | POST | Refresh an access token | Refresh token |
| /api/oauth/jwt/validate/access | POST | Validate an access token | None |
| /api/checkout | POST | Create a checkout session | Bearer token |
| /api/checkout/{sessionId} | GET | Retrieve checkout session details | Bearer token |
API Base URL: All endpoints are relative to the base API URL, which is typically https://apisaligpay.microsource.com.ph/ for production or may be different for sandbox environments.
Authentication Endpoints
Full Documentation: For complete OAuth API specifications, visit /api/oauth/docs
POST/api/oauth/authenticate
Authenticates a merchant and returns an access token.
Request Body
{
"clientId": "your_client_id",
"clientSecret": "your_client_secret"
}Response
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresIn": 3600,
"tokenType": "Bearer"
}Checkout Endpoints
Full Documentation: For complete Checkout API specifications, visit /api/checkout/docs
POST/api/checkout
Creates a new checkout session for a payment.
Request Headers
{
"Authorization": "Bearer your_access_token"
}Request Body
{
"amount": 2500,
"currency": "USD",
"description": "Order #12345",
"externalId": "order_12345",
"customerInfo": {
"email": "customer@example.com",
"name": "John Doe"
},
"successUrl": "https://your-site.com/checkout/success",
"cancelUrl": "https://your-site.com/checkout/cancel"
}Response
{
"sessionId": "cs_123456789",
"checkoutUrl": "https://checkout.saligpay.com/cs_123456789",
"expiresAt": "2023-05-24T15:30:45Z",
"status": "PENDING"
}Security Note: Always keep your client credentials and webhook secrets secure and never expose them in client-side code.
8Getting Help & Support
If you encounter any issues or need assistance with your SaligPay integration, we offer several support channels:
Email Support
Contact our dedicated support team at support@saligpay.com for technical assistance.
Developer Community
Join our developer community forum to discuss integration challenges and solutions with other developers.
Documentation & Resources
- SaligPay API Documentation - Complete API reference
- Integration Guides - Step-by-step tutorials
- Code Examples - Sample integration code in various languages
- Interactive OAuth API - Test authentication endpoints directly
- Interactive Checkout API - Test payment endpoints directly