API reference / Apps
List Stripe invoices
Invoices in the workspace's Stripe, newest first: open ones by default, only those past their due date with overdue, or one customer's. Each has its payment page. Read only. Needs Stripe connected.
/api/v1/apps/stripe/invoicesOther ways to call it
troopy stripe invoicestroopy_stripe_invoicesQuery parameters
statusenum<string>openpaiduncollectiblevoiddraft
Default "open"
overdueboolean | enum<string>true: open ones past their due date, or charged automatically with a failed payment
truefalse
customerstringA customer id, like cus_...
At most 100 characters
limitintegerAt most 50; ask for 10 or fewer to read them all at once
Default 10 · At least 1 · At most 50
cursorstringThe next value from the previous page
At most 200 characters
Response
200 · application/jsondata*array<object>12 properties
id*stringnumber*string | nullcustomer*object3 properties
id*stringemail*string | nullname*string | nullstatus*string | nullamount*numberIn the currency's main unit: dollars, not cents
currency*stringISO code, like usd
amountRemaining*numberStill to pay, in the main unit
dueDate*string | nullattempts*integerPayment attempts so far
nextAttempt*string | nullurl*string | nullThe invoice's page, where the customer can pay
created*stringISO 8601 date and time
hasMore*booleannext*string | nullPass as cursor for the next page; null on the last