api

A simple ViewSet meant only for creating CustomerBalanceAdjustments.

post/api/balance_adjustments/

Request body

customer_idstring required

The id provided when creating the customer, we suggest matching with your internal customer id in your backend

amountnumber double required
pricing_unit_codestring required
descriptionstring nullable
effective_atstring date-time
expires_atstring date-time nullable
amount_paidnumber double
amount_paid_currency_codestring

Response

adjustment_idstring required
amountnumber double required
descriptionstring nullable
effective_atstring date-time
expires_atstring date-time nullable
status'active' | 'inactive'
parent_adjustment_idstring uuid required
amount_paidnumber double

Changes