Error in Stripe API call

Our team is trying to create an Invoice Item in Stripe utilizing the Invoice Items POST method API call in Make. However we are getting an error of “You must specify either an amount or a quantity and unit_amount, but not all three.” Essentially we have a a list of delivery charges stored as a PriceID in Stripe and we want to attach that item to the Invoice that we created for the Customer in the previous step.

Here is how we are filling out our API call:

Here is the error we are getting:

The keys we are using are:
customer, price, invoice

Why are we getting this error and what can we do to fix it?

What does your array in module 37 look like? You might need to get the value inside of the array, instead of feeding it the array.

3 Likes