Singapay Home Page
Logo Icon
  1. Internet TV
  2. Payment Process

API Information

Title API Postpaid Payment
Version v1.0
URL Sandbox https://stg-pg.singapay.id
URL Production -

Version Control

Doc Version API Version Date Document Link Description
v1.0 v1.0 17 June 2025 - -

URL

HTTP method POST
Path /api/v1/postpaid/payment
Type Format JSON

Endpoint

Request Description

Key Value Format M/O/C Length
command String M -
data.password String M -
data.product_code String M -
data.customer_id String M -
data.reference_number String M -

Header Structure

Key Value Format M/O/C Length Description
X-PARTNER-ID <api_key> String M - -
Authorization Bearer <access_token> String M - -
Accept Application/json String M - -

Request & Response Payload Sample

Request

{
    "command": "intv",
    "data": {
        "password" : "adepisHImankY2@",
        "product_code" : "SPINTOPOKE",
        "customer_id" : "512547917",
        "reference_number" : "SPINTOPOKERJBL0065378090801748341070"
    }
}

Response

Success: Here’s an example of a successful response.

{
    "command": "intv",
    "response_code": "00",
    "response_text": "Payment success",
    "data": {
        "amount": "245000",
        "customer_name": "AHMAD  YANDERA",
        "period": "05/03/2024-05/03/2025",
        "customer_id": "512547917",
        "price": "246500",
        "transaction_id": "01JXCKC8C8S05T08W3DKWGY360",
        "created_at": "2025-06-10 16:40:07"
    }
}

Failed: Here’s an example of an error response.

{
    "command": "intv",
    "response_code": "06",
    "response_text": "inquiry not found"
}