Download OpenAPI specification:Download
OpenAPI specification for Repzo Payment Terms endpoints.
| params | object Query parameters for filtering payment terms |
{- "success": true,
- "result": [
- {
- "_id": "string",
- "name": "string",
- "description": "string",
- "days": 0,
- "discount_percentage": 0,
- "discount_days": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "company_id": "string"
}
], - "pagination": {
- "total": 0,
- "page": 0,
- "per_page": 0,
- "total_pages": 0
}
}| name required | string Name of the payment term |
| description | string Description of the payment term |
| days | integer Number of days for payment |
| discount_percentage | number <float> Discount percentage if paid early |
| discount_days | integer Number of days for discount eligibility |
| is_active | boolean Default: true Whether the payment term is active |
{- "name": "string",
- "description": "string",
- "days": 0,
- "discount_percentage": 0,
- "discount_days": 0,
- "is_active": true
}{- "success": true,
- "result": {
- "_id": "string",
- "name": "string",
- "description": "string",
- "days": 0,
- "discount_percentage": 0,
- "discount_days": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "company_id": "string"
}
}{- "success": true,
- "result": {
- "_id": "string",
- "name": "string",
- "description": "string",
- "days": 0,
- "discount_percentage": 0,
- "discount_days": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "company_id": "string"
}
}| id required | string |
| name | string Name of the payment term |
| description | string Description of the payment term |
| days | integer Number of days for payment |
| discount_percentage | number <float> Discount percentage if paid early |
| discount_days | integer Number of days for discount eligibility |
| is_active | boolean Whether the payment term is active |
{- "name": "string",
- "description": "string",
- "days": 0,
- "discount_percentage": 0,
- "discount_days": 0,
- "is_active": true
}{- "success": true,
- "result": {
- "_id": "string",
- "name": "string",
- "description": "string",
- "days": 0,
- "discount_percentage": 0,
- "discount_days": 0,
- "is_active": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "company_id": "string"
}
}