action shop_pro_create_usage_charge { label: "従量課金データの作成" description: "アプリ内で基本機能が利用された頻度に伴って毎月の請求が変動するようなアプリの場合は「従量課金」を使って利用者に変動分の請求を行うことができます。\n※無料お試し期間中のショップに対しては従量課金データを作成できません。\n" provider: shop_pro method: POST path: "/appstore/v1/recurring_application_charges/{recurringApplicationChargeId}/usage_charges.json" encoding: json input: { type: "object" properties: { "X-Appstore-Usage-Charge-Token": { type: "string" } recurringApplicationChargeId: { type: "string" } usage_charge: { type: "object" required: ["description", "point"] properties: { description: { type: "string" description: "従量課金の発生理由。使用可能文字は ASCII, JIS X 0208, JIS X 0201, JIS X 0212に限ります。([デベロッパー](https://developer.shop-pro.jp) ページに掲載される各アプリの「従量課金」一覧で登録内容を確認できます。カラーミーショップ側がこのパラメータを参照して課金の内容を確認することがあります。)" } point: { type: "integer" description: "ポイント数(税抜)。100 円以上 100 万円以下が指定可能。このポイントに消費税を加算してショップオーナーに請求します。" } } } } required: ["recurringApplicationChargeId"] additionalProperties: false } output: { type: "object" properties: { usage_charge: { type: "object" properties: { description: { type: "string" description: "従量課金発生理由" } id: { type: "string" description: "従量課金ID" } make_date: { type: "integer" description: "作成日時" } point: { type: "integer" description: "ポイント請求額(税抜)" } update_date: { type: "integer" description: "更新日時" } } additionalProperties: false } } } }