Credit notes are a Pro plan feature. Shops on the Free or Starter plans cannot create or view credit notes. Upgrade your plan in the Mutasib dashboard under Settings → Subscription.
Create a Credit Note
Send aPOST request to create a new credit note for a customer. You must supply an amount; all other fields are optional.
POST /api/v1/credit-notes/{shop_id}/
Request body
A free-text note describing what the debt is for (e.g.
"Weekly groceries — not paid"). Defaults to "".Optional ISO 8601 date by which payment is expected (e.g.
"2024-02-15"). If omitted, no due date is set.Response — CreditNoteOut
List Credit Notes
Retrieve all credit notes for a shop, optionally filtered by status.GET /api/v1/credit-notes/{shop_id}/
Filter by note status. Accepted values:
pending, paid, cancelled. Omit to return all statuses.CreditNoteOut objects.
Update a Credit Note
Update the status or note text of an existing credit note. Use this endpoint to mark a balance as paid after a customer settles up, or to cancel a note that was created in error.PATCH /api/v1/credit-notes/{shop_id}/{note_id}/
CreditNoteOut object.
Status Reference
A note can only move from
pending → paid or pending → cancelled. Once a note is marked paid or cancelled, it cannot be reverted to pending.