Create Payment Intent
Licenses
Create Payment Intent
POST
Create Payment Intent
Creates a Stripe payment intent for purchasing a charger license. If the authenticated user’s current team is an active partner, the license cost is added as a pending invoice item on their partner subscription instead.
The UUID of the charger.
The SKU of the product to purchase. Must be a valid product SKU from the products catalog.
Response
Standard payment response
The client secret of the Stripe PaymentIntent, used for client-side confirmation (e.g.,
pi_XXXX_secret_YYYY).The Stripe ephemeral key for client-side confirmation (e.g.,
ek_test_XXXX).The Stripe Customer ID (e.g.,
cus_XXXX).The Stripe publishable key for client-side use (e.g.,
pk_test_XXXX).Partner billing response
When the user’s team is an active partner, the response differs:The ID of the created license.
Always
true when billed through the partner subscription.