Skip to main content

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

KeyValueRequiredDescription
ref_idstringyesUnique reference identifier from Tokopedia (same as payment ref_id)
categorystringyesProduct category identifier provided by Tokopedia
timestampstringyesIn 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

KeyValueRequiredDescription
ref_idstringyesUnique reference identifier from Tokopedia (same as payment ref_id)
partner_ref_idstringyesUnique reference identifier from Partner
response_codestringyesResponse code as specified (see 10. Response Codes)
messagestringyesAdditional informational or error message
timestampstringyesIn 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"
}

Have a feedback?