Skip to content

Get Stripe Connect client id

GET {{baseUrl}}/users/stripe/client_id

Returns the operator’s Stripe Connect client id (used to kick off the OAuth onboarding flow). Source: endpoints/users.ts GET /users/stripe/client_id.

Response fields: data (the client id string), status (Stripe.StripeResultStatus).

Errors: 400 with { "message": "Something went wrong with Stripe. Please try again." } on StripeError.

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