Plugin Billing
Update plugin billing record
PUT
Body
application/json
amountnumber>= 0Billing amount
Example
99.99currencystringCurrency code
Example
USDbillingDatestring<date-time>Billing date
Example
2025-01-01T00:00:00ZdueDatestring<date-time>Due date for payment
Example
2025-01-15T00:00:00ZpaymentDueDatestring<date-time>Payment due date
Example
2025-01-30T00:00:00Zstatusstringpendingprocessedpaidoverduefailedcancelledrefundedpartially_paidBilling status
billingPeriodStartstring<date-time>Billing period start date
Example
2025-01-01T00:00:00ZbillingPeriodEndstring<date-time>Billing period end date
Example
2025-01-31T23:59:59ZinvoiceNumberstringInvoice number
Example
INV-202501-0001invoiceUrlstringInvoice URL
Example
https://example.com/invoices/inv-123taxAmountnumber>= 0Tax amount
Example
9.99taxRatenumber[0, 1]Tax rate (as decimal)
Example
0.1discountAmountnumber>= 0Discount amount
Example
5discountCodestringDiscount code
Example
SAVE10descriptionstringBilling description/notes
Example
Monthly subscription fee for Premium planpaymentReferencestringPayment reference
Example
PAY_12345metadataobjectBilling metadata
Example
{
"source": "automated",
"campaign": "summer2025"
}Parameters
idstringrequiredpathResponse
200OK
Plugin billing record updated successfully
Authorization
bearerhttp (bearer) in headerEnter JWT token