what's the type of expiration_intent in server notification's response body


according to https://developer.apple.com/documentation/appstoreservernotifications/responsebody

expiration_intent
integer
The reason a subscription expired. This field is only present for an expired auto-renewable subscription. See expiration_intent for more information.

it's integer, but https://developer.apple.com/documentation/appstorereceipts/expiration_intent

string expiration_intent

This is a fragment of one notification (redacted) I've receive

Code Block
"pending_renewal_info" : [
{
"auto_renew_product_id" : "XXXXXXX0001",
"auto_renew_status" : "0",
"expiration_intent" : "1",
"is_in_billing_retry_period" : "0",
"original_transaction_id" : "1000000XXXXXXX924",
"product_id" : "XXXXXXX0001"
},
{
"auto_renew_product_id" : "XXXXXXX00000001BR",
"auto_renew_status" : "1",
"original_transaction_id" : "1000000XXXXXXX939",
"product_id" : "XXXXXXX00000001BR"
}
],

As you can see, it is a numeric value (1 in this case) expresed as a string ("1").
what's the type of expiration_intent in server notification's response body
 
 
Q