Create a checkout session to purchase additional platform credits. This endpoint is available across all plan tiers.
Request
The unique identifier of the organization.
The dollar amount of credits to purchase (e.g., 10, 50, 100, 250, 500).
Response
The URL to redirect the user to complete their payment via Dodo Payments.
The unique identifier of the checkout session.
The number of credits that will be added to the balance upon successful payment.
{
"checkout_url": "https://checkout.dodopayments.com/pay/cs_abc123",
"session_id": "cs_abc123",
"credits_to_receive": 10000
}