There are some field describe missing sth in App Store Server Api

here are some field in JWSTransactionDecodedPayload and JWSRenewalInfoDecodedPayload, miss this kind of desc: This field is present only for xxxxx

Such as

  1. revocationReason in JWSTransactionDecodedPayload, this field is present only when transaction is refunded. And its possible value is 0 and 1, when this field not present, golang would still unmarshal to default 0 for int32 type

  2. isInBillingRetryPeriod in JWSRenewalInfoDecodedPayload, this field is present only when transaction in billing-retry state(relative doc), and because this field type is boolean, so possible value is true and false, base on the old api desc,

  • true - The App Store is attempting to renew the subscription.
  • false - The App Store has stopped attempting to renew the subscription.

When this field not present, golang would still unmarshal to default false for bool type

  1. priceIncreaseStatus in JWSRenewalInfoDecodedPayload, this field is present only when an auto-renewable subscription price increase that requires customer consent. Its possible value is
  • 0 - The customer hasn’t yet responded to an auto-renewable subscription price increase that requires customer consent.
  • 1 - The customer consented to an auto-renewable subscription price increase that requires customer consent, or the App Store has notified the customer of an auto-renewable subscription price increase that doesn’t require consent.
There are some field describe missing sth in App Store Server Api
 
 
Q