latestSwagger 2.02026-08-2181213270.0 KB

0a9c1f8784f2

Payment

Create an installment plan

When you send this API request, our system will create an installment-plan that replaces any scheduled payments you may have on the loans involved in this installment-plan. Once fully processed, the installment-plan reaches the SCHEDULED status with its payment intents in PROPOSED status, ready to be executed.

Key Parameters: As the loan request is a complex operation, it has many parameters. The most important ones are:

  • payment method (SCT or Direct debit)
  • amount (in cents)
  • debited account information in case of direct debit
  • installments
  • loans and their amounts
  • installment date
  • payment reference

Behavior

The endpoint returns 201 immediately with the installment-plan in DRAFT status. Cancelation of the previous scheduled plans on the same loans, creation of payment intents, and activation of the new plan happen asynchronously in a background task — poll the resource to observe the transition to SCHEDULED. Retrying with the same salt_id returns the existing plan (dedup); when salt_id is omitted, it is derived from the sorted loan_ids.

post/installment-plans

Request body

payment_method'DIRECT_DEBIT' | 'P2P' | 'SCT' required
salt_idstring nullable

Response

Created