Get Started.
The STSPoint Infrastructure API provides a unified interface to programmatically manage global payments, digital product fulfillment, and automation bridges. This documentation covers authentication, standardized responses, and core integration logic.
Base URL
All requests are served over HTTPS to ensure data integrity and security. The API expects and returns data in JSON format.
Authentication
STSPoint uses key-based authentication. You can find your unique credentials in the Developer > API Keys section of your Console.
Secret Key
Your high-security signature used to authorize server-to-server requests. Never expose this key in client-side code.
Merchant ID
The unique identifier for your business account. Used for context isolation and ledger tracking.
Auth Example (Shell):
curl -X POST https://api.stspoint.id/payments/create \ -H "Content-Type: application/json" \ -d '{ "secret_key": "STS-Key-XXXXXXXX", "merchant_id": "STS-XXXXXXXX", "amount": 50000 }'
Response Standards
The API utilizes standard HTTP status codes and a consistent JSON wrapper to simplify client-side integration and error handling.
Success (HTTP 200)
{
"success": true,
"data": {
"external_id": "PAY-12345",
"status": "PENDING",
"amount": 50000
}
}Error (HTTP 4xx/500)
{
"success": false,
"message": "Invalid secret_key",
"error_code": "AUTH_FAILED"
}