**Version: 202201**

# Transaction List

**GET** `/openapi/2022-01/orders/:id/transactions`

Retrieve all transactions attached to the specified order, including status, payment channel, amount, and gateway response details.

## Request

**Path Parameters**

- `id` string (required)

  Order's ID

**Query Parameters**

- `status` string

  Transaction status, `authorized`, `void`, `processing`, `success`, `error`, `refunding`, `refunded`, `refund_failed`,`expire`
- `payment_channel` string

  Payment channel

## Responses

**200**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `transactions` object[]

  *   Array [

  - `id` string

    **Example:** `2150768865`
  - `order_id` string

    **Example:** `633130-00000007`
  - `payment_channel` string

    **Example:** `bogus`
  - `message` string

    **Example:**
  - `created_at` string

    **Example:** `2024-04-19 09:54:03`
  - `test` boolean

    **Default value:** `true`

    **Example:** `true`
  - `error_code` string

    **Example:**
  - `amount` string

    **Example:** `109.9000`
  - `currency` string

    **Example:** `CNY`
  - `trade_id` string

    **Example:** `test_633130-00000007`
  - `status` string

    **Example:** `success`
  - `payment_details` object

    - `card_number` string

      **Example:** `420000******0000`
    - `card_month` string

      **Example:** `01`
    - `card_year` string

      **Example:** `27`
    - `card_first_name` string

      **Example:** `ryan`
    - `card_last_name` string

      **Example:** `zhang`
    - `card_first_fix` string

      **Example:** `420000`
    - `card_last_four` string

      **Example:** `0000`
    - `avs_result_code` string

      **Example:**
    - `cvv_result_code` string

      **Example:**
  - `payment_name` string

    **Example:**
  *   ]
- `count` integer

  **Default value:** `0`

  **Example:** `1`
- `since_id` string

  **Example:** `2150768865`

```json
{
  "transactions": [
    {
      "id": "2150768865",
      "order_id": "633130-00000007",
      "payment_channel": "bogus",
      "message": "",
      "created_at": "2024-04-19 09:54:03",
      "test": true,
      "error_code": "",
      "amount": "109.9000",
      "currency": "CNY",
      "trade_id": "test_633130-00000007",
      "status": "success",
      "payment_details": {
        "card_number": "420000******0000",
        "card_month": "01",
        "card_year": "27",
        "card_first_name": "ryan",
        "card_last_name": "zhang",
        "card_first_fix": "420000",
        "card_last_four": "0000",
        "avs_result_code": "",
        "cvv_result_code": ""
      },
      "payment_name": ""
    }
  ],
  "count": 1,
  "since_id": "2150768865"
}
```

```json
{
    "transactions": [
        {
            "id": "2150768865",
            "order_id": "633130-00000007",
            "payment_channel": "bogus",
            "message": "",
            "created_at": "2024-04-19 09:54:03",
            "test": true,
            "error_code": "",
            "amount": "109.9000",
            "currency": "CNY",
            "trade_id": "test_633130-00000007",
            "status": "success",
            "payment_details": {
                "card_number": "420000******0000",
                "card_month": "01",
                "card_year": "27",
                "card_first_name": "ryan",
                "card_last_name": "zhang",
                "card_first_fix": "420000",
                "card_last_four": "0000",
                "avs_result_code": "",
                "cvv_result_code": ""
            },
            "payment_name": ""
        }
    ],
    "count": 1,
    "since_id": "2150768865"
}
```
