Skip to main content
TroopyDocs
Open Troopy
Troopy

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.

get/api/v1/apps/stripe/invoices

Authorization

HeaderAuthorization: Bearer <API key>
Or the headerX-API-Key: <API key>
API keyMake one in Troopy under Settings > API keys. It acts as you, in its workspace.
Scopesapps:read

Other ways to call it

CLItroopy stripe invoices
MCP tooltroopy_stripe_invoices
Rate limit60 calls in 60 seconds, for each key

Query parameters

statusenum<string>

openpaiduncollectiblevoiddraft

Default "open"

overdueboolean | enum<string>

true: open ones past their due date, or charged automatically with a failed payment

truefalse

customerstring

A customer id, like cus_...

At most 100 characters

limitinteger

At most 50; ask for 10 or fewer to read them all at once

Default 10 · At least 1 · At most 50

cursorstring

The next value from the previous page

At most 200 characters

Response

200 · application/json
data*array<object>
12 properties
id*string
number*string | null
customer*object
3 properties
id*string
email*string | null
name*string | null
status*string | null
amount*number

In the currency's main unit: dollars, not cents

currency*string

ISO code, like usd

amountRemaining*number

Still to pay, in the main unit

dueDate*string | null
attempts*integer

Payment attempts so far

nextAttempt*string | null
url*string | null

The invoice's page, where the customer can pay

created*string

ISO 8601 date and time

hasMore*boolean
next*string | null

Pass as cursor for the next page; null on the last

Errors

400 invalid_inputFix the field named in detail. Each operation's schema is in /api/v1/openapi.json.
401 unauthorizedSend an API key as `Authorization: Bearer tr_live_...`. Create one in Troopy under Settings.
403 forbiddenThe key lacks a scope this operation needs, or its owner lacks the role. detail says which; create a key with the scope, or ask an organization owner or admin.
429 rate_limitedWait the number of seconds in Retry-After, then retry.