Charge for usage only - can't create RecurringApplicationCharge with 0 price;

Solved
Highlighted
Excursionist
25 3 5

In the doc of Usage Charge says:

 

A common billing scenario is to charge only usage-based fees, without a flat recurring monthly fee. To charge only usage-based fees, without a recurring monthly fee, first create arecurring application charge with a price of $0.00, and then apply the usage charge.

But, i tried that: 

 

{
    "recurring_application_charge": {
        "name": "TEST",
        "price": 0.00,
        "return_url": "https://afxxxxxxxxx0.ngrok.io"
    }
}

 

i got this return:

 

 
{
    "errors": {
        "price": [
            "must be greater than zero"
        ]
    }
}
 
0 Likes
Highlighted
Excursionist
25 3 5

This is an accepted solution.

Found the answer, in order to set the price to 0 it should have a capped amount.