PUT {{baseURL}}/pay-int-api/merchants/{{merchantId}}/invoices/settings
This endpoint updates the specified invoice setting.
It controls behavior like whether line item prices can be overwritten, whether taxes, shipping, and discounts are enabled, and which payment methods are accepted for invoices. Changes apply to invoices created after the update and do not retroactively affect invoices already issued.
The update replaces the entire settings record, so all fields must be included, even ones that aren't changing. Any field left out is not preserved from the previous version.
See Also:
To retrieve a merchant's invoice settings, see GET /pay-int-api/merchants/{merchantId}/invoices/settings.
The invoice settings update request.
Specifies the number of days after issuance that an invoice is due.
Example: 30
Specifies the tax percentage.
Example: 8.50 (as 8.50%)
Specifies the discount is enabled.
If true, enable the discount.
If false, do not enable the discount.
Example: true
Specifies the discount percentage.
Example: 1.5 (as 1.5%)
Specifies the shipping fee is enabled.
If true, the shipping fee is enabled.
If false, the shipping fee is not enabled.
Example: true
Specifies fees are enabled.
If true, fees are enabled.
If false, fees are not enabled.
Example: true
Specifies the fees percentage.
Example: 10.25 (as 10.25%)
Specifies default notes shown on an invoice.
Example: Thank you for your business.
Specifies the payment method type identifier.
Value values:
| Id | Name |
|---|---|
| 1 | Card (for credit card) |
| 2 | ElectronicCheck |
Example: 2
Specifies an identifier for the credit card payment processor handling a card transaction.
Example: 78723ff2-d47e-460b-b838-d602bdf0e1bc
Specifies an identifier for the automated clearing house (ACH) payment processor handling a transaction.
Example: 9925a0b0-eb18-4d74-8967-7e0cf6af0729
Specifies staff members are allowed to set a discount and line item discount.
If true, staff can set a discount and a line item discount.
If false, staff cannot set a discount or a line item discount.
Example: true
Specifies an SMS notification is sent to the customer after a successful payment.
If true, an SMS notification is sent after payment succeeds.
If false, no SMS notification is sent after payment succeeds.
Example: true
Specifies an SMS notification is sent to the customer after a failed payment.
If true, an SMS notification is sent after payment fails.
If false, no SMS notification is sent after payment fails.
Example: true
Specifies faster processing is allowed for the invoice's ACH payment.
If true, faster processing is allowed.
If false, faster processing is not allowed.
Example: true
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-int-api/merchants/{merchantId}/invoices/settings
- Sandbox environmenthttps://sandbox.api.flute.com/pay-int-api/merchants/{merchantId}/invoices/settings
- Production environmenthttps://api.flute.com/pay-int-api/merchants/{merchantId}/invoices/settings
curl -i -X PUT \
https://developer.flute.com/_mock/api-reference/pay-int-api/merchants/46063d32-10fa-44cb-b118-20ddd085ce3f/invoices/settings \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-version: 1.0' \
-d '{
"dueDateAfterDays": 30,
"taxPercentage": 8.5,
"isDiscountEnabled": true,
"discountPercentage": 1.5,
"isShippingFeeEnabled": true,
"shippingFeeAmount": 5,
"isFeesEnabled": true,
"feesPercentage": 10.25,
"notes": "Thank you for your business.",
"paymentMethodTypeId": 2,
"cardPaymentProcessorId": "78723ff2-d47e-460b-b838-d602bdf0e1bc",
"achPaymentProcessorId": "9925a0b0-eb18-4d74-8967-7e0cf6af0729",
"allowStaffToSetDiscountAndLineItemDiscount": true,
"allowManuallyEnterLineItems": true,
"isSmsNotificationAfterPaymentEnabled": true,
"isSmsNotificationAfterPaymentFailedEnabled": true,
"achAllowFasterProcessing": true,
"canOverWriteInvoiceLineItemPrice": true
}'