Generates late notice PDFs and sends them by email. Exactly one of the following parameters must be provided: clientContactId or salesPaymentId. These parameters are mutually exclusive.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Values are
REMINDERorSTATEMENT. -
Client contact ID. Required when
salesPaymentIdis not provided. Cannot be used together withsalesPaymentId. -
Sales payment ID. Required when
clientContactIdis not provided. Cannot be used together withclientContactId. -
Document template ID for generating late notice pdf file
-
Whether to use letterhead in generated document
-
Not used when
Type is set to STATEMENTandclientContactIdis provided. -
This parameter is applicable only when
Typeis set toREMINDERandclientContactIdis provided.
curl \
--request POST 'https://wyzio.app/api-v1/late-notice/send-by-email?type=REMINDER&documentTemplateId=420018384&useLetterhead=false'
{}