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 .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
Content-Length: length
{"Credentials":{"MerchantId":"String","UserName":"String","Password":"String","Version":"String"},"Token":"String"}
HTTP/1.1 200 OK Content-Type: text/csv 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":"\/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)\/"}}}