CoP Live Demo

Try our real-time Confirmation of Payee name verification API

Test Confirmation of Payee in Real-Time

Enter UK bank details and payee name to verify account ownership before making a payment. This demo uses our live CoP API to perform real-time name matching.

Test Data:

Sort code: 000000
Account: 00110022
Name: Joe Bloggs
Type: PERSONAL

Real API:

This demo connects to our production CoP API with live name verification

Verification Request

Enter 6 digits (no hyphens)
Enter 8 digits
Full name as registered with bank
Only if required by the bank

API Endpoint

GET https://wsp.esortcode.com/uk/v1/cop

Parameters: key, sortcode, accountNumber, name, accountType

API Response

Enter account details and payee name to see results

Integration Examples

curl -X GET "https://wsp.esortcode.com/uk/v1/cop?key=YOUR_API_KEY&sortcode=404784&accountNumber=00110022&name=Joe%20Bloggs&accountType=PERSONAL"
const sortcode = '404784';
const accountNumber = '00110022';
const name = 'Joe Bloggs';
const accountType = 'PERSONAL';
const apiKey = 'YOUR_API_KEY';

const url = `https://wsp.esortcode.com/uk/v1/cop?key=${apiKey}&sortcode=${sortcode}&accountNumber=${accountNumber}&name=${encodeURIComponent(name)}&accountType=${accountType}`;

fetch(url)
  .then(response => response.json())
  .then(data => {
    console.log('CoP Result:', data.cop.code);
    console.log('Description:', data.cop.description);
    console.log('Advice:', data.cop.advice);
  })
  .catch(error => console.error('Error:', error));
import requests
from urllib.parse import quote

sortcode = '404784'
account_number = '00110022'
name = 'Joe Bloggs'
account_type = 'PERSONAL'
api_key = 'YOUR_API_KEY'

url = f'https://wsp.esortcode.com/uk/v1/cop'
params = {
    'key': api_key,
    'sortcode': sortcode,
    'accountNumber': account_number,
    'name': name,
    'accountType': account_type
}

response = requests.get(url, params=params)
data = response.json()

print(f"CoP Result: {data['cop']['code']}")
print(f"Description: {data['cop']['description']}")
print(f"Advice: {data['cop']['advice']}")
<?php
$sortcode = '404784';
$accountNumber = '00110022';
$name = 'Joe Bloggs';
$accountType = 'PERSONAL';
$apiKey = 'YOUR_API_KEY';

$url = "https://wsp.esortcode.com/uk/v1/cop?key=$apiKey&sortcode=$sortcode&accountNumber=$accountNumber&name=" . urlencode($name) . "&accountType=$accountType";

$response = file_get_contents($url);
$data = json_decode($response, true);

echo "CoP Result: " . $data['cop']['code'] . "\n";
echo "Description: " . $data['cop']['description'] . "\n";
echo "Advice: " . $data['cop']['advice'];
?>

Ready to Integrate?

Get your API key and start verifying names before payments