It gets the account format information of the country passed as query parameter and returns the following information: the acronym of the national ID, its local name, the format to validate it as a regex, the length and an example.
OAuth Grant type, JWT Profile
Identifies the client of the api
ISO country code
It returns the account format information (name, acronym, format, length and an example)
Account format for GB
{
"data": [
{
"country": "GB",
"nationalIdLocalAcronym": "SC",
"nationalIdLocalName": "Sort Code",
"format": "[0-9]{2}[0-9]{4}",
"length": "6",
"example": "207305"
}
],
"_count": "1",
"_links": {}
}Account format response
Information available
Information about one account format
Country ISO code
Acronym
Name
Regex format
Length
Example
Pagination count
Pagination links
Link to the first page of the list of results
Link to the last page of the list of results
Link to the previous page of the list of results
Link to the last page of the list of results
No Content
Bad Request
{
"errors": [
{
"code": "400",
"message": "BAD_REQUEST",
"level": "FATAL",
"description": "Bad request"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
User not authorized
{
"errors": [
{
"code": "401",
"message": "UNAUTHORIZED",
"level": "FATAL",
"description": "User unauthorized"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Access forbidden
{
"errors": [
{
"code": "403",
"message": "FORBIDDEN",
"level": "ERROR",
"description": "Access forbidden"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Not Found
Not found
{
"errors": [
{
"code": "404",
"message": "NOT_FOUND",
"level": "ERROR",
"description": "Not found"
}
]
}The Correspondent was not found
{
"errors": [
{
"code": "404",
"message": "NOT_FOUND",
"level": "ERROR",
"description": "Correspondent could not be found"
}
]
}{
"errors": [
{
"code": "404",
"message": "NOT_FOUND",
"level": "ERROR",
"description": "No Route was found"
}
]
}The Requested account data is not found
{
"errors": [
{
"code": "404",
"message": "NOT_FOUND",
"level": "ERROR",
"description": "The requested Account Number is not a valid _accountFormat_ account"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
The Accept header does not specifically contains one of the allowable types, usually 'application/json'
{
"errors": [
{
"code": "406",
"message": "NOT_ACCEPTABLE",
"level": "ERROR",
"description": "Accept header is not application/json"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Most web servers have a limit of 8192 bytes (8 KB). The server will close the connection to prevent the client from continuing the request.
{
"errors": [
{
"code": "413",
"message": "REQUEST_ENTITY_TOO_LARGE",
"level": "ERROR",
"description": "Request entity larger than 8192 bytes - 8KB"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
URI request is longer than 2,000 characters
{
"errors": [
{
"code": "414",
"message": "URI_TOO_LONG",
"level": "ERROR",
"description": "URI request is longer than 2000 characters"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Unprocessable Entity
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "Unprocessable entity"
}
]
}{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "unexpected keys on object - wrong_key"
}
]
}The requested parameters contain an invalid Currency value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - currency - It must be present in routeParams or extraDetails pacs - IntrBkSttlmAmt.Ccy"
}
]
}The requested parameters contain an invalid account format/number value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - accountFormat or accountNumber - They must be present in routeParams or extraDetails pacs - IntrmyAgt1.FinInstnId CdtrAcct.Id.IBAN or CdtrAgt.FinInstnId"
}
]
}The requested parameters contain an invalid Charge Type value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - chargeType - No union satisfied. expected value to be literal OUR but got foobar expected value to be literal BEN but got foobar expected value to be literal SHA but got foobar"
}
]
}The requested parameters contain an invalid Origin Bank value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - originBank - expected string to match pattern but did not"
}
]
}The requested parameters contain an invalid Origin Country value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - originCountry - expected string to match pattern but did not"
}
]
}The requested parameters contain an invalid Payment Amount value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - paymentAmount - expected type to be number but got string"
}
]
}The requested parameters contain an invalid Value Percentage value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - volumePercentage - expected number to be less than or equal to 100 but got 999999"
}
]
}The requested parameters contain an invalid Permanent Input value
Permanent Inputs: sameCorrespondent, volumePercentage, searchIntermediary, commonCorrespondent.
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - sameCorrespondent - No union satisfied. expected string to be one of - true false. expected type to be boolean but got string"
}
]
}The Request parameters contain an invalid Clearing Scheme value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - clearingScheme - expected string to match pattern but did not"
}
]
}The Request parameters contain an invalid Service Code value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - serviceCode - expected string to match pattern but did not"
}
]
}The Request parameters contain an invalid SSI Correspondent Steps value
{
"errors": [
{
"code": "422",
"message": "UNPROCESSABLE_ENTITY",
"level": "ERROR",
"description": "error parsing object at path - ssiCorrespondentSteps - expected number to be less than or equal to 10 but got 11"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
The user has sent too many requests in a given amount of time
{
"errors": [
{
"code": "429",
"message": "TOO_MANY_REQUESTS",
"level": "ERROR",
"description": "Too many requests"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Internal Server Error
Internal Server Error
{
"errors": [
{
"code": "500",
"message": "INTERNAL_SERVER_ERROR",
"level": "ERROR",
"description": "Unknown error caught in the error middleware"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Service is unavailable
{
"errors": [
{
"code": "503",
"message": "SERVICE_UNAVAILABLE",
"level": "ERROR",
"description": "Service is unavailable"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Gateway timeout
{
"errors": [
{
"code": "504",
"message": "GATEWAY_TIMEOUT",
"level": "ERROR",
"description": "Gateway timeout"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Internal Server Error
Internal Server Error
{
"errors": [
{
"code": "500",
"message": "INTERNAL_SERVER_ERROR",
"level": "ERROR",
"description": "Unknown error caught in the error middleware"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue