ClearBank

Cheques

Cheques

ClearBank accounts can support cheque deposits. If you'd like access to this product, please speak to your relationship manager.

You can submit cheques as image files using the POST /v1/submitDeposit endpoint.

The message flow for cheques submitted via the endpoint is shown here.

alt text

You can submit a cheque image in either TIFF or JPEG file format.

Cheques can be submitted any time and may take up to three working days to process. If the cheque passes processing, is submitted to the ICS scheme, and approved for payment, you will receive the Cheque Paid and Transaction Settled webhooks. If the cheque cannot be processed automatically, you will receive the Cheque Reconciled and Transaction Settled webhooks.

Scenarios where the cheque wouldn't process successfully include:

  • If the cheque is over the limits you defined during onboarding, you will receive a 400 response when you submit the cheque.
  • If a cheque cannot be submitted to the ICS scheme, for example, due to low image quality, you will receive a 400 response when you submit the cheque.
  • If the cheque is successfully submitted, but there is missing information, you will receive the transaction rejected report from ClearBank on Freshdesk.
  • If a decision is made by the issuing bank through ICS to not pay the cheque, you will receive the Cheque Not Paid webhook.

Image requirements

For cheque images to successfully validate, they must satisfy the following requirements:

File typeEncodingResolutionImage size in Base64 lengthImage size in bytes
Bitonal JPEGBase64 encoded string200 DPI800,000 characters600,000 bytes
Bitonal TIFFBase64 encoded string200 DPI90,000 characters67,500 bytes


Cheque images must be:

  • Clear
  • Uncrumpled
  • Without folded corners and have visible edges
  • Free from shadows

Submit a cheque

post/payments/cheques/v1/submit-deposit

Submit deposit.

Parameters

  • Authorization string, header, Required

    Your API token, retrieved from the web portal.

  • DigitalSignature string, header, Required

    Signed hash of the body of the request. The hash is signed by your private key.

  • X-Request-Id string, header, Required

    A unique identifier for the request.

Request Payload (application/json)

  • deposit object, Required

    Deposit details.

  • messageId string, Required

    The unique identifier for the message.

    Minimum length
    1
    Maximum length
    35
    Pattern
    ^\S{1,35}$

request

{
"deposit": {
"beneficiary": {
"accountNumber": "string",
"sortCode": "string",
"names": [
"string"
]
},
"chequeAmount": 0,
"currency": "str",
"chequeImages": {
"frontImage": "string",
"backImage": "string",
"imageType": "tiff"
}
},
"messageId": "string"
}
Code copied

Response (application/json)

  • 200 OK
  • 400 Bad request
  • 403 Forbidden

OK

{
"messageId": "string",
"status": "accepted"
}
Code copied

Bad request

{
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"messageId": "string",
"errorCode": "string"
}
Code copied

Forbidden

{
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"messageId": "string",
"errorCode": "string"
}
Code copied

Associated Webhooks