---
title: "Charge for an overdue bin assignment."
method: POST
path: "/bins/{barcode}/assignments/{assignmentId}/charge"
---

# Charge for an overdue bin assignment.

`POST /bins/{barcode}/assignments/{assignmentId}/charge`

## Request

- Base URL: `https://api.mamaearth.ca` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mamaearth.ca/bins/{barcode}/assignments/{assignmentId}/charge`
- Auth: none declared

Charge for an overdue bin assignment.

## Path parameters

- `barcode` BinBarcode, required: Represents a UPC-A barcode of 11 digits. The checksum is not stored, it should be generated when needed, and otherwise not sent by clients during API calls.
  - `orderBarcode` boolean: We reserve the prefix 90 for order barcodes, so that we are able to distinguish an order from bin barcodes without doing an API or DB lookup.
  - `singleUseBinBarcode` boolean: Checks if this barcode is a single-use bin barcode.
  - `packagingBarcode` boolean
- `assignmentId` integer, required

## Request body

- object
  - `reason` 'NOT_READY' | 'BASE_DAMAGE' | 'LID_DAMAGE' | 'ENVIRONMENTAL_DAMAGE' | 'BARCODE_DAMAGE' | 'OTHER_DAMAGE' | 'MISSING_CUSTOMER' | 'MISSING_CUSTOMER_GOODWILL' | 'MISSING_LOGISTICS' | 'WORN_OUT', required
  - `note` string, nullable

## Response `200`

chargeBinAssignment 200 response

---

[API](https://skmtc.dev/mamaearth/apis/mama-earth-api.md) - [All operations](https://skmtc.dev/mamaearth/apis/mama-earth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mamaearth/apis/mama-earth-api/revisions/2693a8db8dbd?raw)
