Get transaction status
get_transaction_statusCheck a Midtrans transaction's current status by order_id and retrieve full status details such as transaction status, fraud status, payment type, and gross amount.
Instructions
Check the current status of a Midtrans transaction by its order_id. Returns the full status object from Midtrans (transaction_status, fraud_status, payment_type, gross_amount, status_code, and more). Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order_id": "<order_id>"
},
"name": "get_transaction_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The order_id of the transaction to check. |