**Version: 202601**

# Create one-time application charge

**POST** `/openapi/2026-01/application_charges`

Create a one-time charge for an application.

## Request

**application/json**

**Body | Example**

**Body (required)**

- `application_charge` object (required)

  Application charge

  - `name` string (required)

    The application charge name
  - `price` string (required)

    Charge amount. Must match the amount set on the app package
  - `return_url` string (required)

    Redirect URL after payment
  - `test` boolean

    Whether to test the charge (default false)

```json
{
  "application_charge": {
    "name": "string",
    "price": "string",
    "return_url": "string",
    "test": true
  }
}
```

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `application_charge` object

    Application charge

    - `id` string

      Application charge ID
    - `name` string

      Charge name shown to the merchant
    - `price` string

      Charge amount
    - `confirm_url` string

      URL the merchant is redirected to in order to confirm the charge
    - `return_url` string

      URL the merchant returns to after confirming the charge
    - `status` string

      Current status of the application charge
    - `test` boolean

      Whether this is a test charge
    - `created_at` string

      Creation time, in ISO-8601 format
    - `updated_at` string

      Last update time, in ISO-8601 format

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "application_charge": {
      "id": "string",
      "name": "string",
      "price": "string",
      "confirm_url": "string",
      "return_url": "string",
      "status": "string",
      "test": true,
      "created_at": "string",
      "updated_at": "string"
    }
  }
}
```
