POST
/
api
/
v3
/
chargers
/
{charger_uuid}
/
licenses
/
payment-intent
curl --request POST \
  --url https://cloud.volttime.com/api/v3/chargers/{charger_uuid}/licenses/payment-intent \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "product": "architecto"
}'
{
  "payment_intent": "pi_XXXX",
  "ephemeral_key": "ek_test_XXXX",
  "customer": "cus_XXXX",
  "publishable_key": "pk_test_XXXX"
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

charger_uuid
string
required

Body

application/json

Response

200 - application/json

The response is of type object.