Title |
API Prepaid Direct |
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/prepaid/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 |
- |
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": "data",
"data": {
"password" : "adepisHImankY2@",
"product_code" : "SPTKMSF2G30",
"customer_id" : "082291501085"
}
}
Success: Here’s an example of a successful response.
{
"command": "data",
"response_code": "01",
"response_text": "Payment pending",
"data": {
"customer_id": "082291501085",
"amount": "32500",
"price": "32500",
"transaction_id": "01JXCQAZ8Z8AT5YRAP3V66GR70",
"created_at": "2025-06-10 17:49:20"
}
}