Health Check
The purpose of this payload is to make sure the connection between Tokopedia and its partner is already established successfully. It can also be used to check the token validity & encryption and decryption results. Tokopedia will hit this payload every 5 minutes and it is not related to transaction.
Request
Key | Value | Required | Description |
---|---|---|---|
timestamp | string | yes | In Jakarta Time GMT+7, Format: YYYY-MM-DD hh:mm:ss |
Unencrypted & Unsigned (Plain Payload) Example
{
"timestamp": "2021-12-12 12:12:12"
}
Response
Key | Value | Required | Description |
---|---|---|---|
response_code | string | yes | Response code as specified (see 10. Response Codes) |
message | string | yes | Additional informational or error message |
timestamp | string | yes | In Jakarta Time GMT+7, Format: YYYY-MM-DD hh:mm:ss |
Decrypted & Verified (Plain Payload) Success Example
{
"response_code": "00",
"message": "Success",
"timestamp": "2021-12-12 12:12:12"
}
Decrypted & Verified (Plain Payload) Failed Example
{
"response_code": "31",
"message": "Invalid token",
"timestamp": "2021-12-12 12:12:12"
}