[API guide] Custom price payment feature support¶
The discount feature in the PG payment API is being changed to a custom price payment feature. The term "discount coupon" is being changed to "percentage discount coupon".
- Changed
discount_type
→price_type
in API request/response - Updated web PG payment API parameter structure
- Implemented mandatory security verification logic for custom price payments
Main changes¶
1. Field name changes¶
discount_type
→price_type
- Values:
none: standard price payment, custom_price: custom price payment
2. Web PG payment API parameter changes¶
Removed parameters: discount_type
, discount_price
, total_price
, coupon
, point
Added parameters: custom_price
, discount_coupon
3. Payment verification for custom price payments¶
When making custom price payments, you must verify the amount/currency through gameserver_price_verify_key
.