For this service, the following endpoint must be consumed:
JSON structure example
The “user” parameter is to follow up the user who changes the payment method.
2. Send update amount request
When receiving this response, the expected parameter from the JSON object is the “body”, since it contains the result of the subscription amount update. The following code shows an example of the response received.
When trying to update an inactive or pending payment subscription, the response returned will be as the following: