This API is for confirmation of payee inbound. This API will provide the Pay.UK defined response for name matching on a received name with the banks stored name on the provided account details (Account Number + Sortcode) for both retail and business.
Paths
/accounts/name-verification
Account name verification endpoint
Lookup the account details by way of a POST to find the payee. Return a match indicator, reason code and correct account name (in the event of a close match)
An Authorisation Token as per https://tools.ietf.org/html/rfc6750
The unique id of the ASPSP to which the request is issued
An RFC4122 UID used as a correlation id
Header containing a detached JWS signature of the body of the request payload
Request object as per technical guide
Bad Request
Unauthorised
{
"schema": {
"type": "string"
}
}
Forbidden
{
"schema": {
"type": "string"
}
}
Not Found
{
"schema": {
"type": "string"
}
}
Method Not Allowed
{
"schema": {
"type": "string"
}
}
Not Acceptable
{
"schema": {
"type": "string"
}
}
Too Many Requests
{
"schema": {
"type": "string"
}
}
Internal Server Error
Bad Gateway
{
"schema": {
"type": "string"
}
}
Service Unavailable
{
"schema": {
"type": "string"
}
}
Gateway Timeout
{
"schema": {
"type": "string"
}
}
Definitions
{
"required": [
"Data",
"Links",
"Meta"
],
"properties": {
"Data": {
"required": [
"VerificationReport"
],
"properties": {
"VerificationReport": {
"required": [
"Matched",
"ReasonCode",
"Name"
],
"properties": {
"Matched": {
"type": "boolean",
"example": true
},
"ReasonCode": {
"type": "string",
"example": "ANNM"
},
"Name": {
"type": "string",
"example": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"Links": {
"required": [
"Self"
],
"properties": {
"Self": {
"type": "string",
"example": "string"
}
},
"type": "object"
},
"Meta": {
"properties": [],
"type": "object"
}
}
}
{
"required": [
"Code",
"Id",
"Message",
"Errors"
],
"properties": {
"Code": {
"description": "High level textual error code, to help categorize the errors.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"Id": {
"description": "A unique reference for the error instance, for audit purposes, in case of unknown\/unclassified errors.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"Message": {
"description": "Brief Error message, e.g., 'There is something wrong with the request parameters provided'",
"type": "string",
"minLength": 1,
"maxLength": 500
},
"Errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ErrorCode": {
"description": "Low level textual error code, e.g., UK.OBIE.Field.Missing",
"type": "string",
"minLength": 1,
"maxLength": 128
},
"Message": {
"description": "A description of the error that occurred. e.g., 'A mandatory field isn't supplied' or 'RequestedExecutionDateTime must be in future'\nOBIE doesn't standardise this field",
"type": "string",
"minLength": 1,
"maxLength": 500
},
"Path": {
"description": "Recommended but optional reference to the JSON Path of the field with error, e.g., Data.Initiation.InstructedAmount.Currency",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"Url": {
"description": "URL to help remediate the problem, or provide more information, or to API Reference, or help etc",
"type": "string"
}
},
"required": [
"ErrorCode",
"Message"
],
"additionalProperties": false
}
}
}
}
{
"required": [
"Data"
],
"properties": {
"Data": {
"required": [
"SchemeName",
"AccountType",
"Identification",
"Name",
"SecondaryIdentification"
],
"properties": {
"SchemeName": {
"type": "string",
"example": "SortCodeAccountNumber"
},
"AccountType": {
"type": "string",
"example": "Business"
},
"Identification": {
"type": "string",
"example": "12345612345678"
},
"Name": {
"type": "string",
"example": "Adam Test"
},
"SecondaryIdentification": {
"type": "string",
"example": ""
}
},
"type": "object"
}
}
}