STSPoint LogoDocs

    Core

    Get Started

    Payments

    STSPay

    Services

    PPOBGoMerchantShopeePayOVO

    Integration

    WebhooksError Codes
    Back to Console
    STSPoint Logo
    DocumentationGet Started
    v1.2.0 Stable
    Infrastructure API v1.2

    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.

    https://api.stspoint.id

    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 Authentication
    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 Wrapper
    {
      "success": true,
      "data": {
        "external_id": "PAY-12345",
        "status": "PENDING",
        "amount": 50000
      }
    }

    Error (HTTP 4xx/500)

    Error Wrapper
    {
      "success": false,
      "message": "Invalid secret_key",
      "error_code": "AUTH_FAILED"
    }

    © 2024 STSPoint Infrastructure

    GithubPostmanSupport