Singapay Home Page
Logo Icon
  1. General
  2. Reset Cutomer Id

API Information

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 -

Version Control

Doc Version API Version Date Document Link Description
v1.0 v1.0 17 June 2025 - -

URL

HTTP method POST
Path /api/v1/reset-customer-id
Type Format JSON

Endpoint

Request Description

Key Value Format M/O/C Length
command String M -

Header Structure

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 - -

Request & Response Payload Sample

Request

{
    "command": "reset-customer-id"
}

Response

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."
}