Skip to main content
Question

REST API always sends "billing_issues_detected_at" subscription attribute as null

  • July 6, 2024
  • 1 reply
  • 56 views

Forum|alt.badge.img+3

Calling /api/v1/subscriber/XXX for users who have had billing issues (for whom we receive the webhook just fine) always seems to show the “billing_issues_detected_at” attribute of the subscription as null.  Is this a known issue or is there another call we should use to find out if their cancellation was for billing reasons?

For example: below is a response for a call to one of our users who had a billing issue last year (2023).  When I look this user up on the Customers section of the RevenueCat console, it shows that they had a billing issue last year.  

{
   "request_date" : "2024-07-06T22:12:15Z",
   "request_date_ms" : 1720303935745,
   "subscriber" : {
      "entitlements" : {
         "Subscription" : {
            "expires_date" : "2023-02-11T14:14:20Z",
            "grace_period_expires_date" : null,
            "product_identifier" : "SevenMonthly",
            "purchase_date" : "2023-01-11T14:14:20Z"
         }
      },
      "first_seen" : "2023-01-04T14:13:33Z",
      "last_seen" : "2023-06-03T16:31:40Z",
      "management_url" : null,
      "non_subscriptions" : {},
      "original_app_user_id" : "$RCAnonymousID:4d3c3ebb7f0a470aa5d4d921d7263086",
      "original_application_version" : "31",
      "original_purchase_date" : "2023-01-04T14:13:17Z",
      "other_purchases" : {},
      "subscriber_attributes" : {
         "$email" : {
            "updated_at_ms" : 1672841635716,
            "value" : "xxxxx@xxxx"
         }
      },
      "subscriptions" : {
         "SevenMonthly" : {
            "auto_resume_date" : null,
            "billing_issues_detected_at" : null,
            "expires_date" : "2023-02-11T14:14:20Z",
            "grace_period_expires_date" : null,
            "is_sandbox" : false,
            "original_purchase_date" : "2023-01-04T14:14:21Z",
            "ownership_type" : "PURCHASED",
            "period_type" : "normal",
            "purchase_date" : "2023-01-11T14:14:20Z",
            "refunded_at" : null,
            "store" : "app_store",
            "store_transaction_id" : "410001421786947",
            "unsubscribe_detected_at" : "2023-04-12T06:17:09Z"
         }
      }
   }
}

 

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 576 replies
  • November 15, 2024

Hi, sorry we missed your post. I’d be happy to investigate this for you. I was able to find this on my end and can see that billing_issues_detected_at is indeed null despite this user having one. The team and I will investigate this and update here.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings