curl --request POST \
--url https://app.plugchoice.com/api/v3/chargers/{charger}/licenses/payment-intent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"product": "<string>"
}
'{
"payment_intent": "<string>",
"ephemeral_key": "<string>",
"customer": "<string>",
"publishable_key": "<string>",
"license": 123,
"pending_invoice_item": true
}curl --request POST \
--url https://app.plugchoice.com/api/v3/chargers/{charger}/licenses/payment-intent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"product": "<string>"
}
'{
"payment_intent": "<string>",
"ephemeral_key": "<string>",
"customer": "<string>",
"publishable_key": "<string>",
"license": 123,
"pending_invoice_item": true
}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.
pi_XXXX).ek_test_XXXX).cus_XXXX).pk_test_XXXX).true when billed through the partner subscription.