PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

ClientTokenizeACHRequest

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

public class dtos
{

    @DataContract
    public static class ClientTokenizeACHRequest
    {
        @DataMember
        public String Version = null;

        @DataMember
        public String KeyId = null;

        @DataMember
        public String FirstName = null;

        @DataMember
        public String LastName = null;

        @DataMember
        public String Email = null;

        @DataMember
        public String PhoneType = null;

        @DataMember
        public String PhoneNumber = null;

        @DataMember
        public String RoutingNumber = null;

        @DataMember
        public String EncryptedAccountNumber = null;

        @DataMember
        public BillingDescriptor BillingDetails = null;

        @DataMember
        public Boolean VerifyACH = null;
        
        public String getVersion() { return Version; }
        public ClientTokenizeACHRequest setVersion(String value) { this.Version = value; return this; }
        public String getKeyId() { return KeyId; }
        public ClientTokenizeACHRequest setKeyId(String value) { this.KeyId = value; return this; }
        public String getFirstName() { return FirstName; }
        public ClientTokenizeACHRequest setFirstName(String value) { this.FirstName = value; return this; }
        public String getLastName() { return LastName; }
        public ClientTokenizeACHRequest setLastName(String value) { this.LastName = value; return this; }
        public String getEmail() { return Email; }
        public ClientTokenizeACHRequest setEmail(String value) { this.Email = value; return this; }
        public String getPhoneType() { return PhoneType; }
        public ClientTokenizeACHRequest setPhoneType(String value) { this.PhoneType = value; return this; }
        public String getPhoneNumber() { return PhoneNumber; }
        public ClientTokenizeACHRequest setPhoneNumber(String value) { this.PhoneNumber = value; return this; }
        public String getRoutingNumber() { return RoutingNumber; }
        public ClientTokenizeACHRequest setRoutingNumber(String value) { this.RoutingNumber = value; return this; }
        public String getEncryptedAccountNumber() { return EncryptedAccountNumber; }
        public ClientTokenizeACHRequest setEncryptedAccountNumber(String value) { this.EncryptedAccountNumber = value; return this; }
        public BillingDescriptor getBillingDetails() { return BillingDetails; }
        public ClientTokenizeACHRequest setBillingDetails(BillingDescriptor value) { this.BillingDetails = value; return this; }
        public Boolean isVerifyACH() { return VerifyACH; }
        public ClientTokenizeACHRequest setVerifyACH(Boolean value) { this.VerifyACH = value; return this; }
    }

    public static class BillingDescriptor
    {
        public String Address = null;
        public String City = null;
        public String State = null;
        public String Zip = null;
        public String Country = null;
        
        public String getAddress() { return Address; }
        public BillingDescriptor setAddress(String value) { this.Address = value; return this; }
        public String getCity() { return City; }
        public BillingDescriptor setCity(String value) { this.City = value; return this; }
        public String getState() { return State; }
        public BillingDescriptor setState(String value) { this.State = value; return this; }
        public String getZip() { return Zip; }
        public BillingDescriptor setZip(String value) { this.Zip = value; return this; }
        public String getCountry() { return Country; }
        public BillingDescriptor setCountry(String value) { this.Country = value; return this; }
    }

    @DataContract
    public static class ClientTokenizeACH extends PaysecureResponseInternal
    {
        @DataMember
        public String SessionToken = null;

        @DataMember
        public String ResponseCode = null;

        @DataMember
        public String ErrorMessage = null;

        @DataMember
        public String ErrorCode = null;
        
        public String getSessionToken() { return SessionToken; }
        public ClientTokenizeACH setSessionToken(String value) { this.SessionToken = value; return this; }
        public String getResponseCode() { return ResponseCode; }
        public ClientTokenizeACH setResponseCode(String value) { this.ResponseCode = value; return this; }
        public String getErrorMessage() { return ErrorMessage; }
        public ClientTokenizeACH setErrorMessage(String value) { this.ErrorMessage = value; return this; }
        public String getErrorCode() { return ErrorCode; }
        public ClientTokenizeACH setErrorCode(String value) { this.ErrorCode = value; return this; }
    }

    @DataContract
    public static class PaysecureResponseInternal
    {
        @DataMember(EmitDefaultValue=false)
        public RequestTimestamps Timestamps = null;
        
        public RequestTimestamps getTimestamps() { return Timestamps; }
        public PaysecureResponseInternal setTimestamps(RequestTimestamps value) { this.Timestamps = value; return this; }
    }

    @DataContract
    public static class RequestTimestamps
    {
        @DataMember(EmitDefaultValue=false)
        public InOutTimes AppLayer = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes ParentLookup = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes RetryLookup = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes GetCardData = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes CardTokenize = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes CardEncrypt = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes DBInsert = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes BackendProcess = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes DBUpdate = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes ParentUpdate = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes Network = null;
        
        public InOutTimes getAppLayer() { return AppLayer; }
        public RequestTimestamps setAppLayer(InOutTimes value) { this.AppLayer = value; return this; }
        public InOutTimes getParentLookup() { return ParentLookup; }
        public RequestTimestamps setParentLookup(InOutTimes value) { this.ParentLookup = value; return this; }
        public InOutTimes getRetryLookup() { return RetryLookup; }
        public RequestTimestamps setRetryLookup(InOutTimes value) { this.RetryLookup = value; return this; }
        public InOutTimes getGetCardData() { return GetCardData; }
        public RequestTimestamps setGetCardData(InOutTimes value) { this.GetCardData = value; return this; }
        public InOutTimes getCardTokenize() { return CardTokenize; }
        public RequestTimestamps setCardTokenize(InOutTimes value) { this.CardTokenize = value; return this; }
        public InOutTimes getCardEncrypt() { return CardEncrypt; }
        public RequestTimestamps setCardEncrypt(InOutTimes value) { this.CardEncrypt = value; return this; }
        public InOutTimes getDbInsert() { return DBInsert; }
        public RequestTimestamps setDbInsert(InOutTimes value) { this.DBInsert = value; return this; }
        public InOutTimes getBackendProcess() { return BackendProcess; }
        public RequestTimestamps setBackendProcess(InOutTimes value) { this.BackendProcess = value; return this; }
        public InOutTimes getDbUpdate() { return DBUpdate; }
        public RequestTimestamps setDbUpdate(InOutTimes value) { this.DBUpdate = value; return this; }
        public InOutTimes getParentUpdate() { return ParentUpdate; }
        public RequestTimestamps setParentUpdate(InOutTimes value) { this.ParentUpdate = value; return this; }
        public InOutTimes getNetwork() { return Network; }
        public RequestTimestamps setNetwork(InOutTimes value) { this.Network = value; return this; }
    }

    @DataContract
    public static class InOutTimes
    {
        
    }

}

Java ClientTokenizeACHRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /ClientTokenizeACH HTTP/1.1 
Host: api.paysecure.acculynk.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Version":"String","KeyId":"String","FirstName":"String","LastName":"String","Email":"String","PhoneType":"String","PhoneNumber":"String","RoutingNumber":"String","EncryptedAccountNumber":"String","BillingDetails":{"Address":"String","City":"String","State":"String","Zip":"String","Country":"String"},"VerifyACH":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"SessionToken":"String","ResponseCode":"String","ErrorMessage":"String","ErrorCode":"String","Timestamps":{"AppLayer":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"ParentLookup":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"RetryLookup":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"GetCardData":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"CardTokenize":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"CardEncrypt":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"DBInsert":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"BackendProcess":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"DBUpdate":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"ParentUpdate":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"},"Network":{"InTime":"\/Date(-62135596800000-0000)\/","OutTime":"\/Date(-62135596800000-0000)\/"}}}