Create a new payment term
Creates a new payment term for the business.
Payment Term Types:
- IMMEDIATE (מזומן): Payment due immediately
- NET_PLUS: Payment due X days from invoice date
- END_OF_MONTH (סוף חודש): Payment due at end of current month
- END_OF_MONTH_PLUS (שוטף + X): Payment due X days after end of month
Example: Creating "שוטף + 30" (Net 30) means payment is due 30 days after the end of the month.
Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/payment-terms" \ -H "Content-Type: application/json" \ -d '{ "name": "שוטף + 30", "type": "end_of_month_plus", "days": 30 }'{ "id": "550e8400-e29b-41d4-a716-446655440000", "businessId": "550e8400-e29b-41d4-a716-446655440000", "name": "שוטף + 30", "nameEn": "Net 30", "description": "Payment due 30 days after end of month", "type": "end_of_month_plus", "days": 30, "isDefault": false, "isActive": true, "sortOrder": 1, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z"}
