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.Documentation Index
Fetch the complete documentation index at: https://developer.plugchoice.com/llms.txt
Use this file to discover all available pages before exploring further.
The UUID of the charger.
The SKU of the product to purchase. Must be a valid product SKU from the products catalog.
Standard payment response
Response
The Stripe PaymentIntent ID (e.g.,
pi_XXXX).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.