Customer Letter

Here we will show you how to generate the Post Office in branch verification customer letter which contains;

  • Applicant information
  • List of documents
  • Branch address
  • Further information.
  • A QR code that the person in branch will be required to scan.

Fetch session config

This endpoint will retrieve the session configuration, and also provide the requirement ID to be used for the instructions. This will be in a UUID format per document requested, and can be found in the required_resources array per document.

HTTP
Copy

SDK Example:

Javascript
PHP
Python
Java
Go
C#
Copy

Example Response

JSON
Copy

Error Response

JSON
Copy
Error codeDescription
400malformed request
401unauthorised request, wrong key used
404no session found matching the sessionId provided
409cannot begin this session until integrator provides all required resources
503service is unavailable

Generate Customer Letter

This endpoint will generate the letter that the applicant needs to complete the IBV session.

HTTP
Copy

SDK Example

Javascript
PHP
Python
Java
Go
C#
Copy

Example

See below for a complete payload. This will just return a null body.

JSON
Copy

Error Response

JSON
Copy
Error codeDescription
400payload validation error
401unauthorised request, wrong key used
404the referenced application does not exist
409the session has expired
500internal server error
503service is unavailable

Retrieving Customer Letter

This endpoint is used to pull the generated letter in a PDF format, which you can then send to the applicant.

HTTP
Copy

SDK Example

Javascript
PHP
Python
Java
Go
C#
Copy

PDF Example

Important - The use of the Post Office branded customer letter is mandatory for the In-Branch Verification service.

Error Response

JSON
Copy
Error codeDescription
400payload validation error
401unauthorised request, wrong key used
404the referenced application does not exist
409the session has expired
500internal server error
503service is unavailable
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Saurabh Bansal