[API guide] Hive item integration and PG payment API update¶
We are updating the Hive server billing API guide.
Background¶
When an item is granted through the coupon exchange, we added coupon information fields to the grant/recovery request API so that the app server can directly receive the coupon number used and utilize it for settlement and refund handling with external systems.
Key updates¶
- Item integration
- Changed description of the
additionalinfofield: clarified that it is data preconfigured by the app, passed through the Hive Item server to the app server - Changed description of the
platformInfofield and added sub-fieldscoupon_number: coupon number used when the item was grantedcoupon_pno: promotion number of the coupon used when the item was granted
- Changed the
hiveiap_market_idtype fromStringtoInteger
- Changed description of the
- PG payment
- Changed the
hiveiap_market_idresponse parameter type fromStringtoInteger - Changed numeric parameter types from
NumbertoInteger:market_id,user_id,result,quantity,result_status
- Changed the
- Web PG payment
- Changed numeric parameter types from
NumbertoInteger:result,market_id,user_id,quantity,result_status
- Changed numeric parameter types from