Missing data in Subscriptions calls

It seems that API endpoints /v1/subscriptions/{id} and /v1/subscriptions/find/{dealId} are not returning all the information the documentation states it should.
We have set up a test deal with subscription details and additional payments.
Screenshot 2021-08-29 at 13.11.25
Documentation example (Pipedrive API v1 Reference) shows it should return all that data. But we only get the subscription information.
Screenshot 2021-08-29 at 13.11.39

And when I have setup a payment schedule:

Then we get only the total sum, not the payment instalments:
Screenshot 2021-08-29 at 14.04.01

Any ideas? Am I missing something?

Hi @Klemens,

Welcome to the Pipedrive Dev Community. :wave:

I’ve checked with our developers and they told me that the “installment” response property in our documentation holds a different kind of subscription type summary - the installment type summary.

If you want to query all payments, you should call the “Get all payments of a Subscription” endpoint > /v1/subscriptions/{id}/payments.

I hope this helps? :slightly_smiling_face:

Hey @Nicole_Tan ,

Awesome, thank you! This helps a lot!
Although, I would then recommend revisiting the documentation response examples. As currently, the example in the documentations response shows a different output than the actual.

Hi @Klemens,
Glad it helps! And thank you for flagging this. I’ve now asked our developers to help take a look at the responses. :slightly_smiling_face: