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 using the POST /payments/cheques/v1/submit-deposit-async endpoint.

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

alt text

You can submit a cheque image in TIFF file format. ClearBank will return 202 Accepted once the request is accepted.

The successful or unsuccessful cheque submission is returned through the Cheque Process Completed webhook.

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 through our ticketing system.
  • 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 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-async

Submit a cheque 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": "64037394",
"sortCode": "581948",
"names": [
[
"Lisa Grace"
]
]
},
"chequeAmount": 39.32,
"currency": "GBP",
"chequeImages": {
"frontImage": "string",
"backImage": "string",
"imageType": "TIFF"
}
},
"messageId": "a8F3kLm92Qx7Zp5vTn4RjW1hGd6YsBc9Uq0"
}
Code copied

Response (application/json)

  • 202 Accepted
  • 400 Bad request
  • 403 Forbidden

Accepted

{
"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