Void Refund
The purpose of this payload is for Tokopedia to void user’s transactions that are needed to be refunded. Tokopedia will hit this payload everytime there is a need to void a transaction manually.
Request
Key | Value | Required | Description |
---|---|---|---|
ref_id | string | yes | Unique reference identifier from Tokopedia (same as payment ref_id) |
category | string | yes | Product category identifier provided by Tokopedia |
timestamp | string | yes | In Jakarta Time GMT+7, Format: YYYY-MM-DD hh:mm:ss |
Unencrypted & Unsigned (Plain Payload) Example
{
"ref_id": "11242905512",
"category": "listrik",
"timestamp": "2021-12-12 12:12:12"
}
Response
Key | Value | Required | Description |
---|---|---|---|
ref_id | string | yes | Unique reference identifier from Tokopedia (same as payment ref_id) |
partner_ref_id | string | yes | Unique reference identifier from Partner |
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 |
Information details will be used on the invoice page and email notification to show the user their bill information
Decrypted & Verified (Plain Payload) Success Example
{
"ref_id": "11242905512",
"partner_ref_id": "ABC123456789",
"response_code": "00",
"message": "Success",
"timestamp": "2021-12-12 12:12:12"
}
Decrypted & Verified (Plain Payload) Failed Example
{
"ref_id": "11242905512",
"response_code": "12",
"message": "Transaction not found",
"timestamp": "2021-12-12 12:12:12"
}