I'm interested in connecting Membership pro to my billing software with api. I've set the api key and by the url index.php?option=com_osmembership&task=api.get&id=[id]&api_key=[key] I can view the information about a subscription and it looks fine.
I'm not sure if I'm thinking correctly but I want it to work this way:
1. A subscription with invoice as payment is created in Membership pro.
2. I have a function that imports the new subscription into my billing software and create a new invoice.
3. When the customer has paid the invoice my billing software reports back to Membership pro through my function with api and adds payment date and changes status of the subscription to active.
My question is, I can't see the subscription status in the api information, how can my billing software report back to change the status to paid and add payment date? What values can be sent through api?