cURL
curl --request POST \ --url https://api.pcxpay.com/v1/payments/bank-validation/verify-uk-account-holder \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userName": "John Smith", "accessToken": "<string>" } '
{ "success": true, "data": {} }
Verifies that a given name matches the account holder on record via TrueLayer. Requires an accessToken obtained from the TrueLayer OAuth flow.
accessToken
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Full name to verify
"John Smith"
TrueLayer access token from the OAuth callback
Verification result