Invoices
Create an invoice link
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
items
object[]
sum of all items must match breakdown.item_total if provided
breakdown
object
sum of entries in breakdown must equal amount
expires_in
integer
default: 10800Duration in seconds for which invoice will be valid and payable
amount
number
requiredrequested_information
string[]
metadata
object
Set of key-value pairs in the format of string. This is attached to the invoice object for storing additional information.
user_id
string
User to bill the invoice to
Response
200 - application/json
success
boolean
invoice
object