Request Bank Statement
Loans
Request Bank Statement
Request a bank statement for a loan application.
POST
Request Bank Statement
Overview
Requests a bank statement from the customer’s bank. For Carbon bank accounts use sort code565 — no account number or phone required. For all other banks, provide the account number and customer phone.
Request
Method:POSTURL:
/v1/loans/:applicationId/bank-statement
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
applicationId | Path | string | Yes | Application ID. |
Request Body — Carbon Bank
Request Body — External Bank
| Field | Required | Description |
|---|---|---|
sort_code | Yes | 3–6 digit bank sort code. Use 565 for Carbon. |
account_number | Yes (external bank) | Exactly 10 digits. |
phone | Yes (external bank) | Valid Nigerian phone number. |
Response
200 OK
Error Responses
| Status | Message | Cause |
|---|---|---|
| 400 | sort_code is required | Missing sort code |
| 400 | sort_code must be 3–6 digits | Invalid format |
| 400 | account_number must be exactly 10 digits | Non-Carbon bank, missing or invalid account |
| 400 | phone must be a valid Nigerian number | Non-Carbon bank, missing or invalid phone |
| 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.