Skip to main content

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 withStripe field from the payment_settings object
  • withStripe: true indicates that payments are active and configured

Request

Responses

Stripe Payment Status

Response Headers