Skip to content

Get Stripe balance

GET {{baseUrl}}/users/stripe/balance

Returns the driver’s unpaid Stripe Connect balance. Source: endpoints/users.ts GET /users/stripe/balance → Stripe.getUnpaidBalance().

Response fields:

  • data — the unpaid balance amount. The exact unit/shape returned by getUnpaidBalance() wasn’t fully traced in this pass — treat it as a number and verify against a real response before building UI on it.
  • status — a Stripe.StripeResultStatus enum value (e.g. Success).

Errors: 400 with { "message": "User not found." } if status is NoUser; 500 with { "message": "Unkown Error" } (real typo in source) on unexpected failures.

Terminal window
curl --request GET 'https://api.firstdelivery.com/api/users/stripe/balance'
{
"data": 4250,
"status": "Success"
}