ESC
Start typing to search documentation...
JoonWeb Dev

App Billing Endpoints

Detailed technical documentation and implementation guide for App Billing Endpoints.

Overview #

Create one-time charge #

POST /api/admin/26.0/create_app_billing

Headers

Header Value
X-Joonweb-Access-Token jw_at_xxxxxxxxxxxx
Content-Type application/json
Request Example
Request Body
{
    "charge": {
        "merchant_id": 104593,
        "price": 19.989999999999998436805981327779591083526611328125,
        "install_id": 104593,
        "pack_id": 104593,
        "name": "example_name",
        "return_url": "example_return_url",
        "test": true
    }
}
Response
200 OK
{
    "app_billing": {
        "id": 4092,
        "name": "Pro Plan",
        "price": 29.989999999999998436805981327779591083526611328125,
        "status": "active",
        "return_url": "https:\/\/yourapp.com\/billing\/callback",
        "billing_on": "2026-09-26T11:31:04+02:00",
        "created_at": "2026-08-27T11:31:04+02:00",
        "updated_at": "2026-08-27T11:31:04+02:00",
        "test": true
    }
}

Get one-time charge #

GET /api/admin/26.0/app_billings/{id}

Parameters

Field Type Description
id integer/string [Required] The resource ID or handle

Headers

Header Value
X-Joonweb-Access-Token jw_at_xxxxxxxxxxxx
Content-Type application/json
Request Example
Response
200 OK
{
    "app_billing": {
        "id": 4092,
        "name": "Pro Plan",
        "price": 29.989999999999998436805981327779591083526611328125,
        "status": "active",
        "return_url": "https:\/\/yourapp.com\/billing\/callback",
        "billing_on": "2026-09-26T11:31:04+02:00",
        "created_at": "2026-08-27T11:31:04+02:00",
        "updated_at": "2026-08-27T11:31:04+02:00",
        "test": true
    }
}

Create subscription #

POST /api/admin/26.0/recurring_application_charges

Headers

Header Value
X-Joonweb-Access-Token jw_at_xxxxxxxxxxxx
Content-Type application/json
Request Example
Request Body
{
    "recurring_charge": {
        "merchant_id": 104593,
        "price": 19.989999999999998436805981327779591083526611328125,
        "install_id": 104593,
        "pack_id": 104593,
        "name": "example_name",
        "return_url": "example_return_url",
        "test": true
    }
}
Response
200 OK
{
    "recurring_application_charge": {
        "id": 4092,
        "name": "Pro Plan",
        "price": 29.989999999999998436805981327779591083526611328125,
        "status": "active",
        "return_url": "https:\/\/yourapp.com\/billing\/callback",
        "billing_on": "2026-09-26T11:31:04+02:00",
        "created_at": "2026-08-27T11:31:04+02:00",
        "updated_at": "2026-08-27T11:31:04+02:00",
        "test": true
    }
}

Get subscription #

GET /api/admin/26.0/recurring_application_charges/{id}

Parameters

Field Type Description
id integer/string [Required] The resource ID or handle

Headers

Header Value
X-Joonweb-Access-Token jw_at_xxxxxxxxxxxx
Content-Type application/json
Request Example
Response
200 OK
{
    "recurring_application_charge": {
        "id": 4092,
        "name": "Pro Plan",
        "price": 29.989999999999998436805981327779591083526611328125,
        "status": "active",
        "return_url": "https:\/\/yourapp.com\/billing\/callback",
        "billing_on": "2026-09-26T11:31:04+02:00",
        "created_at": "2026-08-27T11:31:04+02:00",
        "updated_at": "2026-08-27T11:31:04+02:00",
        "test": true
    }
}

Activate subscription #

POST /api/admin/26.0/recurring_application_charges/{id}/activate

Parameters

Field Type Description
id integer/string [Required] The resource ID or handle

Headers

Header Value
X-Joonweb-Access-Token jw_at_xxxxxxxxxxxx
Content-Type application/json
Request Example
Response
200 OK
{
    "recurring_application_charge": {
        "id": 4092,
        "name": "Pro Plan",
        "price": 29.989999999999998436805981327779591083526611328125,
        "status": "active",
        "return_url": "https:\/\/yourapp.com\/billing\/callback",
        "billing_on": "2026-09-26T11:31:04+02:00",
        "created_at": "2026-08-27T11:31:04+02:00",
        "updated_at": "2026-08-27T11:31:04+02:00",
        "test": true
    }
}

What's Next? #

Last modified: Aug 25, 2026