Set up your first borrower for repayment
Create a customer with `POST /api/v1/collections/customer/create-customer`. Send their `email` and 11-digit `bvn`. Save the returned customer ID.
Create an authorization session with the borrower name and the bank accounts you want to authorize. Open the returned `widget_url` or embed it in your app.
Fetch the session on your server to confirm that the required authorizations were submitted. Check that a source is active before relying on it for a debit.
Create a collection for that customer. Save its ID and use your loan reference as `external_reference` where appropriate. Use the lifecycle endpoint to check what remains due and which instalment is next.
Customers and authorizations · Repayments and charges · Loan lifecycle