---
title: "Charge a batch of usage (v2)"
---

`POST /api/v2/subscriptions/{origin}/chargebatchusage`

Submits a batch of usage records for charging through the v2 pipeline.

## Authorization

- **bearerAuth** (HTTP bearer): Opaque bearer token obtained from `POST /api/token` (password grant). Send as `Authorization: Bearer <token>`.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `origin` | path | string | yes | Source system / cloud origin for the usage post (for example `aws`, `amp`, `gcp`, or a CRM name such as `salesforce`). |

## Request body

Required. Content type: `application/json`.

## Responses

| Status | Description |
| --- | --- |
| `200` | Success. The business payload is returned in the `Data` field of the standard envelope. |
| `default` | Error. Note that many business errors are also returned as HTTP 200 with `Status: "ERROR"` in the envelope. |
