Skip to content

What is in the business's Stripe account

GET
/payments/summary
curl --request GET \
--url https://example.com/payments/summary \
--cookie bottle.session_token=<bottle.session_token>

Money in the account now, money from recent payments not yet ready, the next payout to the bank and the last one, and anything Stripe needs from the owner before it keeps taking payments or paying out. Read only: Stripe pays out to the bank on its own schedule, and Bottle never moves money.

The account as Stripe sees it

Media typeapplication/json
object
connected
required
boolean
chargesEnabled
required
boolean
payoutsEnabled
required
boolean
availablePence
required
integer
pendingPence
required
integer
nextPayout
required
object
date
required
string format: date
pence
required
integer
lastPayout
required
object
date
required
string format: date
pence
required
integer
disabledReason
required
string | null
problems
required
Array<object>
object
requirement
required
string
when
required
string
Allowed values: now soon later
reason
required
string | null
deadline
required
string | null format: date
Example
{
"problems": [
{
"when": "now"
}
]
}

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Not a member, or without the permission this needs

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Payments are not configured on this installation

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}