Payment requests

Change the collection preferences for a payment request

Changed on

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/payment_requests/{paymentRequestId}/collection_preferences

Request

  • Base URL
    https://api.adfin.com/api
  • URL
    https://api.adfin.com/api/payment_requests/{paymentRequestId}/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

paymentRequestIdstring uuid required

The identifier of the payment request.

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