Set Disbursement Account
Loans
Set Disbursement Account
Set the bank account the loan funds will be disbursed to.
POST
Set Disbursement Account
Overview
Provides the bank account details for loan disbursement. Call this after the customer receives an offer (status = HAS_OFFER).
Request
Method:POSTURL:
/v1/loans/:applicationId/disbursement-account
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
applicationId | Path | string | Yes | Application ID. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
account_number | string | Yes | Exactly 10 digits |
bank_code | string | Yes | Bank sort code — at least 3 digits |
Response
200 OK
Error Responses
| Status | Message | Cause |
|---|---|---|
| 400 | account_number must be exactly 10 digits | Wrong length or non-numeric |
| 400 | bank_code must be at least 3 digits | Invalid bank code |
| 400 | Application not found | Invalid applicationId |
| 422 | Application has no loan ID | Application not yet registered |
Authorizations
Provide your API key in the 'apikey' header.
Headers
Path Parameters
Body
application/json
Provide the required values for the request body.
Response
200 - application/json
Successful response
The response is of type object.