Title |
API Postpaid Payment |
Version |
v1.0 |
URL Sandbox |
https://stg-pg.singapay.id |
URL Production |
- |
Doc Version |
API Version |
Date |
Document Link |
Description |
v1.0 |
v1.0 |
17 June 2025 |
- |
- |
HTTP method |
POST |
Path |
/api/v1/postpaid/payment |
Type Format |
JSON |
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 |
- |
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 |
- |
- |
{
"command": "pdam",
"data": {
"password" : "adepisHImankY2@",
"product_code" : "SPPAMJYA",
"customer_id" : "000770163",
"reference_number" : "SPPAMJYARJBL0011225608521748573917"
}
}
Success: Here’s an example of a successful response.
{
"command": "pdam",
"response_code": "00",
"response_text": "Payment success",
"data": {
"amount": "50059",
"customer_name": "2A1-NURIDA",
"period": "202408",
"customer_id": "000770163",
"price": "51559",
"transaction_id": "01JXCJWGR79E18DSB3HW26QWAD",
"created_at": "2025-06-10 16:31:31"
}
}
Failed: Here’s an example of a error response.
{
"command": "pdam",
"response_code": "06",
"response_text": "inquiry not found"
}