Skip to content

Get the payment account

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

The business’s own Stripe account, connected to Bottle. Money settles to their bank; Bottle never holds it. Until Stripe says the account may take charges, no payment link can be sent.

Where they stand

Media typeapplication/json
object
status
required
string
Allowed values: none pending ready
chargesEnabled
required
boolean
detailsSubmitted
required
boolean
onboardingUrl
required
string | null format: uri
Example
{
"status": "none"
}

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"
}