Title |
API Postpaid Inquiry |
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/inquiry |
Type Format |
JSON |
Key |
Value |
Format |
M/O/C |
Length |
command |
|
String |
M |
- |
data.customer_id |
|
String |
M |
- |
data.product_code |
|
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": "mobpos",
"data": {
"customer_id" : "08122962721",
"product_code" : "SPTKMSPOSH"
}
}
Success: Here’s an example of a successful response.
{
"command": "mobpos",
"response_code": "00",
"response_text": "Inquiry success",
"data": {
"amount": "125620",
"customer_name": "YUXXXXXXXXXXAYA",
"customer_id": "08122962721",
"reference_number": "SPTKMSPOSHRJBL0029576115341749548335",
"price": "127120",
"created_at": "2025-06-10 16:38:55"
}
}
Failed: Here’s an example of a error response.
{
"command": "mobpos",
"response_code": "04",
"response_text": "customer_id (phone number) column value 08122a962721 is not valid"
}