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.*


@DataContract
open class PSBINCheckForTokenRequest
{
    @DataMember
    var Credentials:RequestorCredentials? = null

    @DataMember
    var Token:String? = null
}

open class RequestorCredentials
{
    @Required()
    var MerchantId:String? = null

    @Required()
    var UserName:String? = null

    @Required()
    var Password:String? = null

    @Required()
    var Version:String? = null
}

@DataContract
open class PSBINCheckForToken : PaysecureResponseInternal()
{
    @DataMember
    var Token:String? = null

    @DataMember
    var BIN:String? = null

    @DataMember
    var InternetPinDebit:Boolean? = null

    @DataMember
    var EcomEBTSNAP:Boolean? = null

    @DataMember
    var EcomEBTCash:Boolean? = null

    @DataMember
    var POSFlag:Boolean? = null

    @DataMember
    var PinlessEcommerce:Boolean? = null

    @DataMember
    var PinlessBillPay:Boolean? = null

    @DataMember
    var OnDemandPaymentCredit:Boolean? = null

    @DataMember
    var OnDemandPaymentDebit:Boolean? = null

    @DataMember
    var PinlessA2ACredit:Boolean? = null

    @DataMember
    var PinlessA2ADebit:Boolean? = null

    @DataMember
    var PinlessPrePaidLoad:Boolean? = null

    @DataMember
    var DualMessage:Boolean? = null

    @DataMember
    var Recurring:Boolean? = null

    @DataMember
    var CardVerify:Boolean? = null

    @DataMember
    var POSPinlessDualMessageFlag:Boolean? = null

    @DataMember
    var OTP:Boolean? = null

    @DataMember
    var FastFunds:String? = null

    @DataMember
    var ErrorMessage:String? = null

    @DataMember
    var ErrorCode:String? = null

    @DataMember
    var IncrementalAuth:Boolean? = null

    @DataMember
    var WIC:Boolean? = null
}

@DataContract
open class PaysecureResponseInternal
{
    @DataMember(EmitDefaultValue=false)
    var Timestamps:RequestTimestamps? = null
}

@DataContract
open class RequestTimestamps
{
    @DataMember(EmitDefaultValue=false)
    var AppLayer:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var ParentLookup:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var RetryLookup:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var GetCardData:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var CardTokenize:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var CardEncrypt:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var DBInsert:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var BackendProcess:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var DBUpdate:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var ParentUpdate:InOutTimes? = null

    @DataMember(EmitDefaultValue=false)
    var Network:InOutTimes? = null
}

@DataContract
open class InOutTimes
{
}

Kotlin PSBINCheckForTokenRequest DTOs

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

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Credentials: 
	{
		MerchantId: String,
		UserName: String,
		Password: String,
		Version: String
	},
	Token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Token: String,
	BIN: String,
	InternetPinDebit: False,
	EcomEBTSNAP: False,
	EcomEBTCash: False,
	POSFlag: False,
	PinlessEcommerce: False,
	PinlessBillPay: False,
	OnDemandPaymentCredit: False,
	OnDemandPaymentDebit: False,
	PinlessA2ACredit: False,
	PinlessA2ADebit: False,
	PinlessPrePaidLoad: False,
	DualMessage: False,
	Recurring: False,
	CardVerify: False,
	POSPinlessDualMessageFlag: False,
	OTP: False,
	FastFunds: String,
	ErrorMessage: String,
	ErrorCode: String,
	IncrementalAuth: False,
	WIC: False,
	Timestamps: 
	{
		AppLayer: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		ParentLookup: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		RetryLookup: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		GetCardData: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		CardTokenize: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		CardEncrypt: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		DBInsert: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		BackendProcess: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		DBUpdate: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		ParentUpdate: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		},
		Network: 
		{
			InTime: 0001-01-01,
			OutTime: 0001-01-01
		}
	}
}