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": "bputk",
"data": {
"password" : "adepisHImankY2@",
"product_code" : "SPBPJSTKBPU",
"customer_id" : "3321120409790003",
"reference_number" : "SPBPJSTKBPURJBL0082955058391748250653"
}
}
Success: Here’s an example of a successful response.
{
"command": "bputk",
"response_code": "00",
"response_text": "Payment success",
"data": {
"amount": "16800",
"customer_name": "KHOIRUL ANWAR",
"period": "1",
"customer_id": "3321120409790003",
"price": "19300",
"transaction_id": "01JXCKDBQDJ0JZX1BGJ24CMX2K",
"created_at": "2025-06-10 16:40:44"
}
}