Finalize gateway billing group

http
POST /ai/gateway/billing/finalize

Finalize gateway billing group.

Parameters

NameInRequiredDescription
x-veryfront-project-referenceheader
x-veryfront-project-idheader
x-veryfront-project-slugheader

Request body

FieldTypeRequiredDescription
billing_group_idstringYes

Responses

StatusDescription
200Direct gateway charges for the user-facing billing group, reconciled from server-recorded usage
400Invalid billing group request
401Unauthorized
402Insufficient AI credits for reconciliation
403Project access denied
404Billing group not found
409Billing group usage is not ready to finalize