latestSwagger 2.02026-08-2181213270.0 KB

0a9c1f8784f2

Onboarding

<div> <h3>Add and/or choose the repayment method for borrower.</h3> <p>If payment method is "DIRECT_DEBIT" then the `account` parameter must not be null.</p> <p> If `is_default_repayment_method` is true, then the repayment method becomes the borrower's default repayment method so that upcmoing loan requests will use this payment method and account as a default. <br/> <br/> <i> Please note: that the account defined in the `loan_to` attribute of created loans is left unchanged. If you want to change the destination account of a loan, you must cancel it and request a new loan. </i> </p> <p> If `apply_to_all_active_loans` is true, then the repayment method is used for upcoming payments of all loans that are in TO_REPAY or TO_REPAY_FEES statuses. </p> </div>
post/borrower/{borrower_id}/repayment-methods

Path parameters

borrower_idstring required

Request body

apply_to_all_active_loansboolean required

Use this account to repay active loans.

is_default_repayment_methodboolean required

Use this account by default for new loans repayment.

namestring nullable

Arbitrary name for this repayment method.

payment_method'DIRECT_DEBIT' | 'SCT' required

Payment method for the repayment account. Possible values: ['DIRECT_DEBIT', 'SCT']

Response

OK