paymentMethods and autopay apply to subscriptions (and their debts). POST /v2/debts does not accept them: sending them returns 400 INVALID_REQUEST. In those debts, automatic collection is governed by the userโs subscription to the product, see Direct debit.Available methods
ThepaymentMethods field accepts one or more of these values:
Payment links accept the same values in their
paymentMethods, which filters the methods the payer sees on the linkโs portal.
If you do not send
paymentMethods, the debts are enabled with the methods configured at your organization level. You do not need to send this field to charge.Direct debit (autopay)
autopay (default false) indicates that the charge is performed by direct debit, without the debtor choosing a method for each charge.
For the full flow of direct debit per product (products, enrollment, POST /adhesions, and POST /v2/debts), see Direct debit. To see which methods a user registered, use GET /payment-methods: see User payment methods.
Error: autopay + paymentMethods together
Method hierarchy
The enabled methods are resolved in a cascade, from the general to the specific:Paying several debts at once
When a debtor pays multiple debts in a single operation, the system computes the intersection of the methods enabled on each debt and only offers the methods common to all of them.422 BUSINESS_RULE_VIOLATION. In that case, the debtor must pay them separately.

