Singapay Home Page
Logo Icon
  1. PLN Pascabayar
  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": "plnpos",
    "data": {
        "password" : "adepisHImankY2@",
        "product_code" : "SPPLNPOS",
        "customer_id" : "146300068064",
        "reference_number" : "SPPLNPOSRJBL0080217757411749548209"
    }
}

Response

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

{
    "command": "plnpos",
    "response_code": "00",
    "response_text": "Payment success",
    "data": {
        "amount": "151005",
        "customer_name": "NARSONO",
        "period": "202403",
        "customer_id": "146300068064",
        "price": "152505",
        "transaction_id": "01JXCK6K1CMRGJKQ2J863Q6P5J",
        "created_at": "2025-06-10 16:37:02"
    }
}