[APIガイド] カスタム金額決済機能のサポート¶
PG決済APIの割引機能をカスタム金額決済機能に変更します。「割引クーポン」の用語を「割合割引クーポン」に変更します。
- APIリクエスト/レスポンスでdiscount_type→price_typeに変更
- Web PG決済APIパラメータ構造の更新
- カスタム金額決済時の必須セキュリティ検証ロジックの実装
主な変更事項¶
1. フィールド名の変更¶
- discount_type→- price_type
- 値:none: 通常金額決済、custom_price: カスタム金額決済
2. Web PG決済APIパラメータの変更¶
削除されたパラメータ:discount_type、discount_price、total_price、coupon、point 追加されたパラメータ:custom_price、discount_coupon
3. カスタム金額決済時の決済検証¶
カスタム金額決済時には、gameserver_price_verify_keyを通じた金額/通貨の検証を行う必要があります。
