CDD Engine Web Service v2.14.0.0

<back to all web services

BankDetailsValidationRequest

Requires Authentication
The following routes are available for this service:
POST/BankAccountValidation/submit
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class BankDetailsValidationRequest
    {
        public String CSR = null;
        public String Sortcode = null;
        public String AccountNumber = null;
        public String SourceCode = null;
        
        public String getCsr() { return CSR; }
        public BankDetailsValidationRequest setCsr(String value) { this.CSR = value; return this; }
        public String getSortcode() { return Sortcode; }
        public BankDetailsValidationRequest setSortcode(String value) { this.Sortcode = value; return this; }
        public String getAccountNumber() { return AccountNumber; }
        public BankDetailsValidationRequest setAccountNumber(String value) { this.AccountNumber = value; return this; }
        public String getSourceCode() { return SourceCode; }
        public BankDetailsValidationRequest setSourceCode(String value) { this.SourceCode = value; return this; }
    }

}

Java BankDetailsValidationRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /BankAccountValidation/submit HTTP/1.1 
Host: wpcdd-featuretest-ws.worldpay.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"CSR":"String","Sortcode":"String","AccountNumber":"String","SourceCode":"String"}