Check payment terms acceptance
GET/company/payment/terms
Check if the authenticated company has accepted Stripe's payment terms and conditions.
Objective
Determine whether to display the terms acceptance modal before allowing payment operations by checking the company's payment_settings.tos_acceptance.accepted field.
Use Cases
- Verify when loading the payment configuration section
- Determine whether to show or hide the terms acceptance banner
- Prerequisite before enabling Stripe or adding payment methods
Notes
- Requires JWT authentication (bearerAuth)
- Returns
success: trueif already accepted,success: falseif not - Does not throw an error when terms are not accepted (responds with 200)
Request
Responses
- 200
- 401
- 404
Stripe Terms of Service acceptance status
Response Headers
Company not found
Response Headers
User not found