Inconsistent payload in payment api when writing custom function

Inconsistent payload in payment api when writing custom function

Dear support team, 

I'm having trouble writing and testing the custom function for payment module. I want to retrive the subscription record involved with the payment in the  Customer Payment module Custom Function. 

For some reason, the payload I retrieve when writing the custom function for Customer Payment module is a little bit different than that of a documented default response example. And I and my administrator were unable to trace back where and why there is such 


And here is the response in the Webhook api (Note the subscriptions field. thought the UI state that  these two response should be similar)


          Zoho Marketing Automation
                  • Sticky Posts

                  • Introducing Developer Space in Zoho Subscriptions

                    Hello devs! At Zoho Subscriptions, we're constantly looking for ways to empower the developer community. Our goal is to provide you with the tools you need to integrate Zoho Subscriptions with your other platforms, and we also want to make it easy to

                  Zoho Pagesense Resources

                    Zoho SalesIQ Resources



                          Zoho TeamInbox Resources

                            Zoho DataPrep Resources



                              Zoho CRM Plus Resources

                                Zoho Books Resources


                                  Zoho Subscriptions Resources

                                    Zoho Desk Resources

                                      Zoho Projects Resources


                                        Zoho Sprints Resources


                                          Qntrl Resources


                                            Zoho Creator Resources


                                              Zoho WorkDrive Resources





                                                  Zoho Campaigns Resources

                                                    Zoho CRM Resources

                                                          Design. Discuss. Deliver.

                                                          Create visually engaging stories with Zoho Show.

                                                          Get Started Now