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)