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.customer_id |
|
String |
M |
- |
data.product_code |
|
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": "mobpos",
"data": {
"password" : "adepisHImankY2@",
"customer_id" : "08122962721",
"product_code" : "SPTKMSPOSH",
"reference_number" : "SPTKMSPOSHRJBL0029933208701748403167"
}
}
Success: Here’s an example of a successful response.
{
"command": "mobpos",
"response_code": "00",
"response_text": "Payment success",
"data": {
"amount": "125620",
"customer_name": "YUXXXXXXXXXXAYA",
"customer_id": "08122962721",
"price": "127120",
"transaction_id": "01JXCKAEVZVG3B2H6ZPECA7XHE",
"created_at": "2025-06-10 16:39:08"
}
}