Skip to content

Sends an email notification for the invoice

Request

POST {{baseURL}}/pay-int-api/invoices/{{invoiceId}}/send-published-sms-notification

Security
Bearer
Path
invoiceIdstring, (uuid)required

The identifier of the invoice for which to send the notification.

Example:9be2f3a4-5b6c-4d7e-8f9a-0b1c2d3e4f70
Headers
x-api-versionstring
Bodyapplication/json

The request containing the details for the Email notification.

receiverEmailstring or null
customerConsentboolean

Identifies the customer has consented to receiving the SMS.

If true, the customer has consented to receiving the SMS.
If false, the customer has not consented to receiving the SMS.

Example: true

Example:true
curl -i -X POST \
  https://developer.flute.com/_mock/api-reference/pay-int-api/invoices/9be2f3a4-5b6c-4d7e-8f9a-0b1c2d3e4f70/send-email-notification \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'x-api-version: string' \
  -d '{
    "receiverEmail": "string",
    "customerConsent": true
  }'

Responses

Email notification sent successfully.

Response
No content