Recurring invoices

Change the collection preferences for a recurring invoice

Changed on

Changes how collection is set up for the invoices this recurring invoice raises. A field left out of the body is unchanged. partialPayments takes at most one of minimumAmount or minimumPercentage. statements, mandateReminders, cardReminders and directDebitEncouragement can only be set on the customer.

patch/schedules/invoices/{recurringInvoiceId}/collection_preferences

Request

  • Base URL
    https://api.adfin.com/api
  • URL
    https://api.adfin.com/api/schedules/invoices/{recurringInvoiceId}/collection_preferences
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.staging.adfin.com/api/oauth2/token
    • or OAuth 2
      Client credentials
      Token URL: https://api.adfin.com/api/oauth2/token

Path parameters

recurringInvoiceIdstring uuid required

The identifier of the recurring invoice.

Request body

collectionMethod'AUTO_COLLECT' | 'ON_DEMAND'

The collection method to use.

Response

The change was applied.

Changes

    • info

      added the new optional request property /

    • warning

      the // request property's exclusiveMinimum was set to 0.00

    • warning

      the // request property's min was set to 0.00

    • warning

      the // request property's min was set to 0.00