On our Shopify application, we are creating a RecurringApplicationCharge with a price depending on the plan the user selects ($29.99, $59.99, $99.99, etc.)
Beside that, we are now planning to introduce usage charges, in order to charge usage specific fees. To allow that, a capped amount should be set on the recurring application charge initially created, so we are using the PUT API method to accomplish that. The request looks as follows :
The request completes successfully (200 Response status code returned), however on the returned response, the updated capped amount fields are missing (capped_amount, balance_used, balance_remaining, update_capped_amount_url) . The recurring application charge information is same as before making the PUT capped_amount request.
Although now error is provided, the capped_amount is not updated, nor we are receiving the update_capped_amount_url in order to ask the user for approval. Making a GET request on that recurring application charge behaves the same (missing capped_amount informations).
Note : If we initially create the recurring application charge with a capped_amount, later updates of the capped_amount via the PUT API Endpoint work as expected.
Did anybody else encountered this issue lately? I did not find any information in the Shopify API documentation that recurring application charges should be initially created with a capped_amount in order to be able to later edit it via the PUT API Endpoint.