跳到主要内容
版本:202201

创建一次性应用收费

POST 

/openapi/2022-01/application_charges

使用提供的详情创建新的一次性应用收费。

请求

请求体

    application_charge object

    Application charge

    namestring必填

    The application charge name.

    pricestring必填

    The amount of the charge, must match with the APP package setting amount

    return_urlstring必填

    Redirect URL after payment

    testboolean

    Whether it is a test charge

    默认值: false

响应

200

数据结构
    idstring
    示例: 372212374209312759
    application_idstring
    示例: Kmby9zm_W1dlg11zyVY1XtVkG3teakrbTYPwwmE6WhU
    namestring
    示例: test
    pricestring
    示例: 100
    confirm_urlstring
    示例: https://test-shoplazza.stg.myshoplaza.com/admin/smart_apps/angora/app_store/charges/Kmby9zm_W1dlg11zyVY1XtVkG3teakrbTYPwwmE6WhU/372212374209312759/one-time/confirm?signature=83207d1ad129d5c2ac36bd8b1b6ff8a8
    return_urlstring
    示例: https://shoplazza.com
    statusstring
    示例: pending
    testboolean
    默认值: true
    示例: false
    created_atstring
    示例: 2024-04-23T02:39:05Z
    updated_atstring
    示例: 2024-04-23T02:39:05Z