**版本：202201**

# 查询一次性应用收费详情

**GET** `/openapi/2022-01/application_charges/:charge_id`

通过收费 ID 查询指定一次性应用收费的详细信息。

## 请求

**Path参数**

- `charge_id` string (required)

  收费 ID。

## 响应

**200 | 404**

200

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `application_charge` object

  - `id` string

    **示例：** `372212374209312759`
  - `application_id` string

    **示例：** `Kmby9zm_W1dlg11zyVY1XtVkG3teakrbTYPwwmE6WhU`
  - `name` string

    **示例：** `test`
  - `price` string

    **示例：** `100`
  - `confirm_url` string

    **示例：** `https://test-shoplazza.stg.myshoplaza.com/admin/smart_apps/angora/app_store/charges/Kmby9zm_W1dlg11zyVY1XtVkG3teakrbTYPwwmE6WhU/372212374209312759/one-time/confirm?signature=83207d1ad129d5c2ac36bd8b1b6ff8a8`
  - `return_url` string

    **示例：** `https://shoplazza.com`
  - `status` string

    **示例：** `active`
  - `test` boolean

    **默认值：** `true`

    **示例：** `false`
  - `created_at` string

    **示例：** `2024-04-23T02:39:05Z`
  - `updated_at` string

    **示例：** `2024-04-23T02:39:19Z`

```json
{
  "application_charge": {
    "id": "372212374209312759",
    "application_id": "Kmby9zm_W1dlg11zyVY1XtVkG3teakrbTYPwwmE6WhU",
    "name": "test",
    "price": "100",
    "confirm_url": "https://test-shoplazza.stg.myshoplaza.com/admin/smart_apps/angora/app_store/charges/Kmby9zm_W1dlg11zyVY1XtVkG3teakrbTYPwwmE6WhU/372212374209312759/one-time/confirm?signature=83207d1ad129d5c2ac36bd8b1b6ff8a8",
    "return_url": "https://shoplazza.com",
    "status": "active",
    "test": false,
    "created_at": "2024-04-23T02:39:05Z",
    "updated_at": "2024-04-23T02:39:19Z"
  }
}
```

```json
{
    "application_charge": {
        "id": "372212374209312759",
        "application_id": "Kmby9zm_W1dlg11zyVY1XtVkG3teakrbTYPwwmE6WhU",
        "name": "test",
        "price": "100",
        "confirm_url": "https://test-shoplazza.stg.myshoplaza.com/admin/smart_apps/angora/app_store/charges/Kmby9zm_W1dlg11zyVY1XtVkG3teakrbTYPwwmE6WhU/372212374209312759/one-time/confirm?signature=83207d1ad129d5c2ac36bd8b1b6ff8a8",
        "return_url": "https://shoplazza.com",
        "status": "active",
        "test": false,
        "created_at": "2024-04-23T02:39:05Z",
        "updated_at": "2024-04-23T02:39:19Z"
    }
}
```

404

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "Record not found"
  ]
}
```

```json
{
  "errors": [
    "Record not found"
  ]
}
```
