post https://api.processout.com/invoices
Any fields that refer to an amount of money (such as amount
and discount_amount
), you should specify the amount in the major unit of the currency rather than the minor unit (so this would mean dollars rather than cents if the currency is USD, for example).
You can supply many pieces of information when you create an Invoice
object. See the section about creating resources to learn how to pass data fields to the create()
function.
At a minimum, you must supply a name
, amount
and currency
to create the Invoice
.