(Re)provision the Stripe Connect account of a teacher or external school
POST/api/admin/provisioning/:userId/stripe
Idempotent: a user who already has an account keeps it unless stripe_account_id is passed, in which case that id is adopted without calling Stripe. Refused for a user that is neither a teacher nor an external school.
Request
Responses
- 200
- 400
- 404
Provisioning outcome: ok / skipped / failed, with the reason
The user is neither a teacher nor an external school
Not found