---
updatedAt: 2025-11-11T00:28:32.000Z
agentTools:
  projectIndex: https://docs.midtrans.com/llms.txt
---

# Code 2xx

List of Midtrans specific status codes starting with 2XX.

| Status | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `200`  | **Payment Card**: `Success`. Request is successfully received and processed by Midtrans. Transaction status is authorize, capture, settlement, cancel. Approval of challenge transactions is accepted by Midtrans. <br /><br />**Other payment methods**: `Success`. The transaction status is settlement or cancel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `201`  | **Payment Card**: `Pending`. Transaction is successfully made but the 3D secure process has yet to be completed. Transaction will expire expire within 15 minutes. Or, on some rare occasion, `Challenge`. The transaction is successfully sent to the bank but yet to be approved. You need to manually approve the transaction. If no action is taken until settlement time (D+1 16:00), Midtrans will cancel the transaction. <br /><br />**Bank Transfer**: `Pending`. The transaction is successfully sent to the bank but the process is not completed by the customer. By default, the transaction expires within 24 hours. <br /><br />**GoPay**: `Pending`. The transaction is created successfully on GoPay but it is not completed by the customer. By default, the transaction expires within 15 minutes. <br /><br />**CIMB Click**: `Pending`. The transaction is successfully sent to the bank but the process is not completed by the customer. By default, the transaction expires within two hours. <br /><br />**BRImo**: `Pending`. The transaction is successfully sent to the bank but the process is not completed by the customer. By default, the transaction expires within two hours.<br /><br />**Klik BCA**: `Pending`. The transaction is successfully sent to the bank but the process is not completed by the customer. By default, the transaction expires within two hours. <br /><br />**BCA KlikPay**: `Pending`. The transaction successfully sent to bank but the process has not been completed by the customer. By default, the transaction will expire within 2 hours.<br /><br />**Mandiri Bill Payment**: `Pending`. The transaction is successfully sent to the bank but the process is not completed by the customer. By default, the transaction expires within two hours. <br /><br />**XL Tunai**: `Pending`. The transaction is successfully sent to the provider but the process is not completed by the customer. By default, the transaction expires within two hours. <br /><br />**Indomaret**: `Pending`. The transaction is successfully sent to the provider but the process is not completed by the customer. By default, the transaction expires within two hours. |
| `202`  | **Payment Card**: `Denied`. The transaction has been processed but is denied by payment provider or Midtrans Fraud Detection System. <br /><br /> **Other payment methods**: `Denied`. The transaction has been processed but is denied by payment provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

> 📘 Note
>
> Cancel notification payload has status code 202 instead of 200.