curl --request POST \
--url https://api.comm.com/api/v1/billing/charge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cost": 123,
"meta": {
"integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reason": "<string>",
"webhook_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}'
{
"success": true
}
curl --request POST \
--url https://api.comm.com/api/v1/billing/charge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cost": 123,
"meta": {
"integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reason": "<string>",
"webhook_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}'
{
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.