Singapay Home Page
Logo Icon
  1. PLN Pascabayar
  2. Inquiry Process

API Information

Title API Postpaid Inquiry
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/inquiry
Type Format JSON

Endpoint

Request Description

Key Value Format M/O/C Length
command String M -
data.customer_id String M -
data.product_code 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": "plnpos",
    "data": {
        "customer_id" : "146300068064",
        "product_code" : "SPPLNPOS"
    }
}

Response

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

{
    "command": "plnpos",
    "response_code": "00",
    "response_text": "Inquiry success",
    "data": {
        "amount": "151005",
        "customer_name": "NARSONO",
        "period": "202403",
        "customer_id": "146300068064",
        "reference_number": "SPPLNPOSRJBL0080217757411749548209",
        "price": "152505",
        "created_at": "2025-06-10 16:36:49"
    }
}