This API is intended solely for the development team to perform repeated tests in the development environment.
Because of limitations on customer IDs in the dev server, the API can reset any customer
ID that becomes unusable—this is necessary due to fraud detection mechanisms or other restrictions.
Normally, a customer ID can only be used once per day, but this API makes it easy to retry with the same
ID on the development server.
Title |
API Reset Cutomer Id |
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/reset-customer-id |
Type Format |
JSON |
Key |
Value |
Format |
M/O/C |
Length |
command |
|
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": "reset-customer-id"
}
Success: Here’s an example of a successful response. The system returns this response when there are no billing transaction records found
{
"command": "reset-customer-id",
"response_code": "00",
"response_text": "Operation completed successfully."
}