Skip to content

[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

  1. Item integration
    • Changed description of the additionalinfo field: clarified that it is data preconfigured by the app, passed through the Hive Item server to the app server
    • Changed description of the platformInfo field and added sub-fields
      • coupon_number: coupon number used when the item was granted
      • coupon_pno: promotion number of the coupon used when the item was granted
    • Changed the hiveiap_market_id type from String to Integer
  2. PG payment
    • Changed the hiveiap_market_id response parameter type from String to Integer
    • Changed numeric parameter types from Number to Integer: market_id, user_id, result, quantity, result_status
  3. Web PG payment
    • Changed numeric parameter types from Number to Integer: result, market_id, user_id, quantity, result_status