Check Status
The purpose of this payload is for Tokopedia to reconfirm the transaction state, if during the payment payload, the partner responds with a pending response code and partner implements synchronous transaction processing.
Check status will be called periodically for pending transactions until it is either resolved to Success or Failed. By default it will start with a 5 minutes interval and gradually increase to a 15 minutes interval after several hours. Check status intervals can be configured to meet Tokopedia and Partner’s needs.
RequestKey | Value | Required | Description |
---|---|---|---|
ref_id | string | yes | Unique reference identifier from Tokopedia (same as payment ref_id) |
timestamp | string | yes | In Jakarta Time GMT+7, Format: YYYY-MM-DD hh:mm:ss |
category | string | yes | Product category identifier provided by Tokopedia |
{
"ref_id": "11242905512",
"timestamp": "2021-12-12 12:12:12",
"category": "listrik"
}
Key | Value | Required | Description |
---|---|---|---|
string | yes | Unique reference identifier from Tokopedia (same as payment ref_id) | |
string | yes | Unique reference identifier from Partner | |
string | yes | Client bill identifier / MSISDN number | |
string | yes | Code of product given by Partner | |
string | yes | Response code as specified (see 10. Response Codes) | |
string | yes | Additional informational or error message | |
number | no | Partner admin fee that already included on total_amount | |
number | yes | Total bill amount or product price | |
string | yes | In Jakarta Time GMT+7, Format: YYYY-MM-DD hh:mm:ss | |
bill_details | array | no | Details of a given bill |
additional_details | array | no | Additional details of a given bill that will be shown to the user with a collapsed initial state. This usually is not important yet needs to be displayed to the user. |
Information details will be used on the invoice page and email notification to show the user their bill information
{
"ref_id": "11242905512",
"partner_ref_id": "ABC123456789",
"client_number": "1234567890",
"product_code": "product5627",
"response_code": "00",
"message": "Success",
"total_amount": 1500000,
"timestamp": "2021-12-12 12:12:12",
"bill_details": [
{
"name": "Nama Perusahaan",
"value": "Company Lorem",
"is_pii": false,
"is_show": true
},
{
"name": "Nama Customer",
"value": "John Doe",
"is_pii": true,
"is_show": true
}
],
"additional_details": [
{
"label": "Pemakaian",
"details": [
{
"name": "Meter awal",
"value": "120 m2",
"is_pii": false,
"is_show": true
},
{
"name": "Meter akhir",
"value": "150 m2",
"is_pii": false,
"is_show": true
}
]
}
]
}
{
"ref_id": "11242905512",
"response_code": "12",
"message": "Transaction not found",
"timestamp": "2021-12-12 12:12:12"
}