openapi: 3.2.0 info: title: Monite Overdue reminders API contact: name: Monite team url: https://monite.com/about/ email: developers@monite.com termsOfService: https://monite.com/terms version: '1.0' description: 'Operations tagged Overdue reminders across 3 of this provider''s published API definitions: monite-openapi-2023-09-01.json, monite-openapi-2024-05-25.json, monite-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.dev.monite.com/v1 description: Development environment - url: https://api.sandbox.monite.com/v1 description: Sandbox environment - url: https://api.monite.com/v1 description: Production environment (Europe) - url: https://us.api.monite.com/v1 description: Production environment (North America) - url: https://api.monite.oaknorth.co.uk/v1 description: Oak POC environment tags: - name: Overdue reminders paths: /overdue_reminders: get: tags: - Overdue reminders summary: Get overdue reminder configurations operationId: get_overdue_reminders parameters: - required: true schema: type: string format: date example: '2023-09-01' name: x-monite-version in: header - description: The ID of the entity that owns the requested resource. required: true schema: type: string format: uuid examples: - 9d2b4c8f-2087-4738-ba91-7359683c49a4 name: x-monite-entity-id in: header responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/AllOverdueRemindersResponse' '405': description: Method Not Allowed content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [] post: tags: - Overdue reminders summary: Create an overdue reminder configuration operationId: post_overdue_reminders parameters: - required: true schema: type: string format: date example: '2023-09-01' name: x-monite-version in: header - description: The ID of the entity that owns the requested resource. required: true schema: type: string format: uuid examples: - 9d2b4c8f-2087-4738-ba91-7359683c49a4 name: x-monite-entity-id in: header requestBody: content: application/json: schema: $ref: '#/components/schemas/OverdueReminderRequest' required: true responses: '201': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/OverdueReminderResponse' '405': description: Method Not Allowed content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [] servers: - url: https://api.dev.monite.com/v1 description: Development environment - url: https://api.sandbox.monite.com/v1 description: Sandbox environment - url: https://api.monite.com/v1 description: Production environment (Europe) - url: https://us.api.monite.com/v1 description: Production environment (North America) - url: https://api.monite.oaknorth.co.uk/v1 description: Oak POC environment /overdue_reminders/{overdue_reminder_id}: get: tags: - Overdue reminders summary: Get an overdue reminder configuration by ID operationId: get_overdue_reminders_id parameters: - required: true schema: type: string format: date example: '2023-09-01' name: x-monite-version in: header - required: true schema: type: string format: uuid name: overdue_reminder_id in: path - description: The ID of the entity that owns the requested resource. required: true schema: type: string format: uuid examples: - 9d2b4c8f-2087-4738-ba91-7359683c49a4 name: x-monite-entity-id in: header responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/OverdueReminderResponse' '405': description: Method Not Allowed content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '404': description: Not found content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [] patch: tags: - Overdue reminders summary: Update an overdue reminder configuration operationId: patch_overdue_reminders_id parameters: - required: true schema: type: string format: date example: '2023-09-01' name: x-monite-version in: header - required: true schema: type: string format: uuid name: overdue_reminder_id in: path - description: The ID of the entity that owns the requested resource. required: true schema: type: string format: uuid examples: - 9d2b4c8f-2087-4738-ba91-7359683c49a4 name: x-monite-entity-id in: header requestBody: content: application/json: schema: $ref: '#/components/schemas/OverdueReminderUpdateRequest' required: true responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/OverdueReminderResponse' '405': description: Method Not Allowed content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '404': description: Not found content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [] delete: tags: - Overdue reminders summary: Delete an overdue reminder configuration operationId: delete_overdue_reminders_id parameters: - required: true schema: type: string format: date example: '2023-09-01' name: x-monite-version in: header - required: true schema: type: string format: uuid name: overdue_reminder_id in: path - description: The ID of the entity that owns the requested resource. required: true schema: type: string format: uuid examples: - 9d2b4c8f-2087-4738-ba91-7359683c49a4 name: x-monite-entity-id in: header responses: '204': description: Successful Response '405': description: Method Not Allowed content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '404': description: Not found content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorSchemaResponse' '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' security: - HTTPBearer: [] servers: - url: https://api.dev.monite.com/v1 description: Development environment - url: https://api.sandbox.monite.com/v1 description: Sandbox environment - url: https://api.monite.com/v1 description: Production environment (Europe) - url: https://us.api.monite.com/v1 description: Production environment (North America) - url: https://api.monite.oaknorth.co.uk/v1 description: Oak POC environment components: schemas: AllOverdueRemindersResponse: properties: data: items: $ref: '#/components/schemas/OverdueReminderResponse' type: array type: object required: - data OverdueReminderUpdateRequest: properties: name: type: string maxLength: 255 minLength: 1 recipients: $ref: '#/components/schemas/Recipients' term: allOf: - $ref: '#/components/schemas/OverdueReminderTerm' description: Overdue reminder to send for payment term additionalProperties: false type: object required: - term Recipients: properties: bcc: items: type: string format: email type: array cc: items: type: string format: email type: array to: items: type: string format: email type: array additionalProperties: false type: object OverdueReminderRequest: properties: name: type: string maxLength: 255 minLength: 1 recipients: $ref: '#/components/schemas/Recipients' term: allOf: - $ref: '#/components/schemas/OverdueReminderTerm' description: Overdue reminder to send for payment term additionalProperties: false type: object required: - name - term HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array type: object OverdueReminderResponse: properties: id: type: string format: uuid created_at: type: string format: date-time description: Time at which the OverdueReminder was created. Timestamps follow the ISO 8601 standard. updated_at: type: string format: date-time description: Time at which the OverdueReminder was last updated. Timestamps follow the ISO 8601 standard. name: type: string recipients: $ref: '#/components/schemas/Recipients' term: allOf: - $ref: '#/components/schemas/OverdueReminderTerm' description: Overdue reminder to send for payment term type: object required: - id - created_at - updated_at - name - term OverdueReminderTerm: properties: body: type: string days_after: type: integer maximum: 10000.0 minimum: 1.0 subject: type: string additionalProperties: false type: object required: - body - days_after - subject ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array msg: type: string type: type: string type: object required: - loc - msg - type ErrorSchemaResponse: properties: error: $ref: '#/components/schemas/ErrorSchema' type: object required: - error ErrorSchema: properties: message: type: string type: object required: - message OverdueReminderUpdateRequest_2: properties: name: type: string maxLength: 255 minLength: 1 recipients: $ref: '#/components/schemas/Recipients' terms: items: $ref: '#/components/schemas/OverdueReminderTerm' type: array maxItems: 3 minItems: 1 description: Overdue reminder terms to send for payment additionalProperties: false type: object OverdueReminderRequest_2: properties: name: type: string maxLength: 255 minLength: 1 recipients: $ref: '#/components/schemas/Recipients' terms: items: $ref: '#/components/schemas/OverdueReminderTerm' type: array maxItems: 3 minItems: 1 description: Overdue reminder terms to send for payment additionalProperties: false type: object required: - name OverdueReminderResponse_2: properties: id: type: string format: uuid created_at: type: string format: date-time description: Time at which the OverdueReminder was created. Timestamps follow the ISO 8601 standard. updated_at: type: string format: date-time description: Time at which the OverdueReminder was last updated. Timestamps follow the ISO 8601 standard. name: type: string recipients: $ref: '#/components/schemas/Recipients' terms: items: $ref: '#/components/schemas/OverdueReminderTerm' type: array minItems: 1 description: Overdue reminder terms to send for payment type: object required: - id - created_at - updated_at - name OverdueReminderUpdateRequest_3: properties: name: type: string maxLength: 255 minLength: 1 recipients: $ref: '#/components/schemas/Recipients' terms: items: $ref: '#/components/schemas/OverdueReminderTerm' type: array maxItems: 3 minItems: 1 description: Overdue reminder terms to send for payment additionalProperties: false type: object OverdueReminderRequest_3: properties: name: type: string maxLength: 255 minLength: 1 recipients: $ref: '#/components/schemas/Recipients' terms: items: $ref: '#/components/schemas/OverdueReminderTerm' type: array maxItems: 3 minItems: 1 description: Overdue reminder terms to send for payment additionalProperties: false type: object required: - name OverdueReminderResponse_3: properties: id: type: string format: uuid created_at: type: string format: date-time description: Time at which the OverdueReminder was created. Timestamps follow the ISO 8601 standard. updated_at: type: string format: date-time description: Time at which the OverdueReminder was last updated. Timestamps follow the ISO 8601 standard. name: type: string recipients: $ref: '#/components/schemas/Recipients' terms: items: $ref: '#/components/schemas/OverdueReminderTerm' type: array minItems: 1 description: Overdue reminder terms to send for payment type: object required: - id - created_at - updated_at - name securitySchemes: HTTPBearer: type: http scheme: bearer x-refined-from: - monite-openapi-2023-09-01.json - monite-openapi-2024-05-25.json - monite-openapi.yml