> For the complete documentation index, see [llms.txt](https://docs.doku.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.doku.com/changelog/july-2025/checkout-new-fields-and-status-values-on-check-status-api.md).

# Checkout - New Fields and Status Values on Check Status API

Effective Date: 24 July 2025

We are introducing important updates to the `Check Status API` response format to improve clarity and ensure consistency across integrations. These changes affect all merchants currently using the API to retrieve payment status information.

***

## 🔍 What’s New?

**1. `order.status` field for Checkout Page**

A new object field `order.status` is added to reflect the current order status.

**Possible values:**

* `ORDER_GENERATED` – Order has been created but not yet paid.
* `ORDER_EXPIRED` – Order expired without payment.

***

**2. `PENDING` status for Direct API**

The enum value `PENDING` will now appear in the `transaction.status` field to indicate that the payment is still in progress and awaiting confirmation (applies to channels such as Credit Card, ShopeePay, and others).

***

**3. Null values for unselected channels**

If a customer has not yet selected a payment channel, the following fields will return `null`:

* `service.id`
* `acquirer.id`
* `channel.id`

These fields will be filled only after the customer selects a channel.

***

### 🔁 Before vs After

### Before

```json
{
  "order": {
    "invoice_number": "INV-5489910000093492",
    "amount": 120000,
    "status": "ORDER_GENERATED",
    "date": "2025-07-09T02:58:30Z"
  },
  "transaction": {
    "status": "PENDING",
    "date": "2025-07-09T02:58:30Z",
    "original_request_id": "3719"
  },
  "service": { "id": "" },
  "acquirer": { "id": "" },
  "channel": { "id": "" }
}
```

### After

```json
{
  "order": {
    "invoice_number": "INV-548991000009310030",
    "amount": 120000.0,
    "status": "ORDER_GENERATED"
  },
  "transaction": {
    "status": "PENDING",
    "date": "2025-07-10T03:00:48Z",
    "original_request_id": "76392"
  },
  "service": {
    "id": "DIGITAL_BANKING"
  },
  "acquirer": {
    "id": "BTPN",
    "name": "Bank Tabungan Pensiunan Nasional"
  },
  "channel": {
    "id": "JENIUS_PAY"
  },
  "additional_info": {
    "doku_wallet_notify_url": "https://doku.com",
    "origin": {
      "product": "CHECKOUT",
      "system": "mid-jokul-checkout-system",
      "api_format": "JOKUL",
      "source": "direct"
    },
    "line_items": [
      {
        "quantity": 1.0,
        "price": "120000",
        "image_url": "http://doku.com/",
        "name": "DOKU Basic T-Shirt",
        "sku": "FashionSKU123",
        "type": "ABC",
        "category": "Fashion",
        "url": "http://doku.com/"
      }
    ]
  },
  "digital_banking_payment": {}
}

```

| Field                | Before                    | After                                    |
| -------------------- | ------------------------- | ---------------------------------------- |
| `order.status`       | Not available             | `ORDER_GENERATED`, `ORDER_EXPIRED` (new) |
| `transaction.status` | `SUCCESS`, `FAILED`, etc. | `PENDING` added as a new possible value  |

***

### 📌 Action Required

Please update your system to accommodate the new format and status values by **\[date]**.

* Merchants using **Checkout Page** should handle the `order.status` object.
* Merchants using **Direct API** must anticipate the new `"PENDING"` value in `transaction.status`.

These changes are **mandatory** and will apply to all integrations using the Check Status API.

If you have questions or need clarification, please contact your DOKU representative or visit our developer documentation.

***

If you have questions or need further clarification, please reach out to your DOKU representative or contact our support team.

Thank you for your continued support.\
**DOKU Product Team**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.doku.com/changelog/july-2025/checkout-new-fields-and-status-values-on-check-status-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
