![]() This PR adds a new `POST /billing/subscriptions` endpoint that can be used to initiate a billing subscription. The endpoint will use the provided `github_user_id` to look up a user, generate a Stripe Checkout session, and then return the URL. The caller would then redirect the user to the URL to initiate the checkout flow. Here's an example of how to call it: ```sh curl -X POST "http://localhost:8080/billing/subscriptions" \ -H "Authorization: <ADMIN_TOKEN>" \ -H "Content-Type: application/json" \ -d '{"github_user_id": 12345}' ``` Release Notes: - N/A |
||
---|---|---|
.. | ||
channel_buffer_tests.rs | ||
channel_guest_tests.rs | ||
channel_message_tests.rs | ||
channel_tests.rs | ||
dev_server_tests.rs | ||
editor_tests.rs | ||
following_tests.rs | ||
integration_tests.rs | ||
notification_tests.rs | ||
random_channel_buffer_tests.rs | ||
random_project_collaboration_tests.rs | ||
randomized_test_helpers.rs | ||
remote_editing_collaboration_tests.rs | ||
test_server.rs |