PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

PSBINCheckForTokenRequest

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

public class dtos
{

    @DataContract
    public static class PSBINCheckForTokenRequest
    {
        @DataMember
        public RequestorCredentials Credentials = null;

        @DataMember
        public String Token = null;
        
        public RequestorCredentials getCredentials() { return Credentials; }
        public PSBINCheckForTokenRequest setCredentials(RequestorCredentials value) { this.Credentials = value; return this; }
        public String getToken() { return Token; }
        public PSBINCheckForTokenRequest setToken(String value) { this.Token = value; return this; }
    }

    public static class RequestorCredentials
    {
        @Required()
        public String MerchantId = null;

        @Required()
        public String UserName = null;

        @Required()
        public String Password = null;

        @Required()
        public String Version = null;
        
        public String getMerchantId() { return MerchantId; }
        public RequestorCredentials setMerchantId(String value) { this.MerchantId = value; return this; }
        public String getUserName() { return UserName; }
        public RequestorCredentials setUserName(String value) { this.UserName = value; return this; }
        public String getPassword() { return Password; }
        public RequestorCredentials setPassword(String value) { this.Password = value; return this; }
        public String getVersion() { return Version; }
        public RequestorCredentials setVersion(String value) { this.Version = value; return this; }
    }

    @DataContract
    public static class PSBINCheckForToken extends PaysecureResponseInternal
    {
        @DataMember
        public String Token = null;

        @DataMember
        public String BIN = null;

        @DataMember
        public Boolean InternetPinDebit = null;

        @DataMember
        public Boolean EcomEBTSNAP = null;

        @DataMember
        public Boolean EcomEBTCash = null;

        @DataMember
        public Boolean POSFlag = null;

        @DataMember
        public Boolean PinlessEcommerce = null;

        @DataMember
        public Boolean PinlessBillPay = null;

        @DataMember
        public Boolean OnDemandPaymentCredit = null;

        @DataMember
        public Boolean OnDemandPaymentDebit = null;

        @DataMember
        public Boolean PinlessA2ACredit = null;

        @DataMember
        public Boolean PinlessA2ADebit = null;

        @DataMember
        public Boolean PinlessPrePaidLoad = null;

        @DataMember
        public Boolean DualMessage = null;

        @DataMember
        public Boolean Recurring = null;

        @DataMember
        public Boolean CardVerify = null;

        @DataMember
        public Boolean POSPinlessDualMessageFlag = null;

        @DataMember
        public Boolean OTP = null;

        @DataMember
        public String FastFunds = null;

        @DataMember
        public String ErrorMessage = null;

        @DataMember
        public String ErrorCode = null;

        @DataMember
        public Boolean IncrementalAuth = null;

        @DataMember
        public Boolean WIC = null;
        
        public String getToken() { return Token; }
        public PSBINCheckForToken setToken(String value) { this.Token = value; return this; }
        public String getBin() { return BIN; }
        public PSBINCheckForToken setBin(String value) { this.BIN = value; return this; }
        public Boolean isInternetPinDebit() { return InternetPinDebit; }
        public PSBINCheckForToken setInternetPinDebit(Boolean value) { this.InternetPinDebit = value; return this; }
        public Boolean isEcomEBTSNAP() { return EcomEBTSNAP; }
        public PSBINCheckForToken setEcomEBTSNAP(Boolean value) { this.EcomEBTSNAP = value; return this; }
        public Boolean isEcomEBTCash() { return EcomEBTCash; }
        public PSBINCheckForToken setEcomEBTCash(Boolean value) { this.EcomEBTCash = value; return this; }
        public Boolean isPosFlag() { return POSFlag; }
        public PSBINCheckForToken setPosFlag(Boolean value) { this.POSFlag = value; return this; }
        public Boolean isPinlessEcommerce() { return PinlessEcommerce; }
        public PSBINCheckForToken setPinlessEcommerce(Boolean value) { this.PinlessEcommerce = value; return this; }
        public Boolean isPinlessBillPay() { return PinlessBillPay; }
        public PSBINCheckForToken setPinlessBillPay(Boolean value) { this.PinlessBillPay = value; return this; }
        public Boolean isOnDemandPaymentCredit() { return OnDemandPaymentCredit; }
        public PSBINCheckForToken setOnDemandPaymentCredit(Boolean value) { this.OnDemandPaymentCredit = value; return this; }
        public Boolean isOnDemandPaymentDebit() { return OnDemandPaymentDebit; }
        public PSBINCheckForToken setOnDemandPaymentDebit(Boolean value) { this.OnDemandPaymentDebit = value; return this; }
        public Boolean isPinlessA2ACredit() { return PinlessA2ACredit; }
        public PSBINCheckForToken setPinlessA2ACredit(Boolean value) { this.PinlessA2ACredit = value; return this; }
        public Boolean isPinlessA2ADebit() { return PinlessA2ADebit; }
        public PSBINCheckForToken setPinlessA2ADebit(Boolean value) { this.PinlessA2ADebit = value; return this; }
        public Boolean isPinlessPrePaidLoad() { return PinlessPrePaidLoad; }
        public PSBINCheckForToken setPinlessPrePaidLoad(Boolean value) { this.PinlessPrePaidLoad = value; return this; }
        public Boolean isDualMessage() { return DualMessage; }
        public PSBINCheckForToken setDualMessage(Boolean value) { this.DualMessage = value; return this; }
        public Boolean isRecurring() { return Recurring; }
        public PSBINCheckForToken setRecurring(Boolean value) { this.Recurring = value; return this; }
        public Boolean isCardVerify() { return CardVerify; }
        public PSBINCheckForToken setCardVerify(Boolean value) { this.CardVerify = value; return this; }
        public Boolean isPosPinlessDualMessageFlag() { return POSPinlessDualMessageFlag; }
        public PSBINCheckForToken setPosPinlessDualMessageFlag(Boolean value) { this.POSPinlessDualMessageFlag = value; return this; }
        public Boolean isOtp() { return OTP; }
        public PSBINCheckForToken setOtp(Boolean value) { this.OTP = value; return this; }
        public String getFastFunds() { return FastFunds; }
        public PSBINCheckForToken setFastFunds(String value) { this.FastFunds = value; return this; }
        public String getErrorMessage() { return ErrorMessage; }
        public PSBINCheckForToken setErrorMessage(String value) { this.ErrorMessage = value; return this; }
        public String getErrorCode() { return ErrorCode; }
        public PSBINCheckForToken setErrorCode(String value) { this.ErrorCode = value; return this; }
        public Boolean isIncrementalAuth() { return IncrementalAuth; }
        public PSBINCheckForToken setIncrementalAuth(Boolean value) { this.IncrementalAuth = value; return this; }
        public Boolean isWic() { return WIC; }
        public PSBINCheckForToken setWic(Boolean value) { this.WIC = 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 PSBINCheckForTokenRequest DTOs

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

HTTP + XML

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

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

<PSBINCheckForTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Credentials>
    <MerchantId>String</MerchantId>
    <Password>String</Password>
    <UserName>String</UserName>
    <Version>String</Version>
  </Credentials>
  <Token>String</Token>
</PSBINCheckForTokenRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PSBINCheckForToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Timestamps>
    <AppLayer>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </AppLayer>
    <BackendProcess>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </BackendProcess>
    <CardEncrypt>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </CardEncrypt>
    <CardTokenize>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </CardTokenize>
    <DBInsert>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </DBInsert>
    <DBUpdate>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </DBUpdate>
    <GetCardData>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </GetCardData>
    <Network>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </Network>
    <ParentLookup>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </ParentLookup>
    <ParentUpdate>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </ParentUpdate>
    <RetryLookup>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </RetryLookup>
  </Timestamps>
  <BIN>String</BIN>
  <CardVerify>false</CardVerify>
  <DualMessage>false</DualMessage>
  <EcomEBTCash>false</EcomEBTCash>
  <EcomEBTSNAP>false</EcomEBTSNAP>
  <ErrorCode>String</ErrorCode>
  <ErrorMessage>String</ErrorMessage>
  <FastFunds>String</FastFunds>
  <IncrementalAuth>false</IncrementalAuth>
  <InternetPinDebit>false</InternetPinDebit>
  <OTP>false</OTP>
  <OnDemandPaymentCredit>false</OnDemandPaymentCredit>
  <OnDemandPaymentDebit>false</OnDemandPaymentDebit>
  <POSFlag>false</POSFlag>
  <POSPinlessDualMessageFlag>false</POSPinlessDualMessageFlag>
  <PinlessA2ACredit>false</PinlessA2ACredit>
  <PinlessA2ADebit>false</PinlessA2ADebit>
  <PinlessBillPay>false</PinlessBillPay>
  <PinlessEcommerce>false</PinlessEcommerce>
  <PinlessPrePaidLoad>false</PinlessPrePaidLoad>
  <Recurring>false</Recurring>
  <Token>String</Token>
  <WIC>false</WIC>
</PSBINCheckForToken>