Get payment status with Stripe
GET/company/payment/withStripe
Purpose
Check if Stripe payments are enabled for the authenticated user’s company.
Objective
Allow the frontend to know the current status of the Stripe integration in order to show or hide payment-related features.
Use Cases
- Determine whether to display the payments toggle in the dashboard
- Verify configuration before attempting to process a delivery
- Check the activation switch status in the configuration UI
Notes
- Requires JWT authentication (bearerAuth)
- Returns only the
withStripefield from thepayment_settingsobject withStripe: trueindicates that payments are active and configured
Request
Responses
- 200
- 401
- 404
Stripe Payment Status
Response Headers
Company not found
Response Headers
User not found