| POST | /integrations/api/{integrationType}/core/verifycharge |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class CoreChargeVerifyRq
{
var reCaptchaScore:BigDecimal? = null
var integrationType:String? = null
var NationalId:Int? = null
var ChapterId:Int? = null
var ContextIntegrationPartnerId:Int? = null
var AuthenticationId:Int? = null
var Token:String? = null
}
open class CoreChargeVerifyRs
{
var Token:String? = null
var CardVerificationDetails:CreditCardVerificationDetails? = null
var AchVerificationDetails:AchVerificationDetails? = null
}
open class CreditCardVerificationDetails
{
var IsError:Boolean? = null
var IsDuplicate:Boolean? = null
var GatewayResponseCode:String? = null
var GatewayMessage:String? = null
var NetworkVerificationAttempted:Boolean? = null
var CvvVerificationResult:String? = null
var AddressVerificationResult:String? = null
var PostalCodeVerificationResult:String? = null
var NetworkTransactionId:String? = null
}
open class AchVerificationDetails
{
var IsError:Boolean? = null
var NetworkVerificationAttempted:Boolean? = null
var Result:String? = null
var Code:String? = null
var Message:String? = null
}
Kotlin CoreChargeVerifyRq DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /integrations/api/{integrationType}/core/verifycharge HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
reCaptchaScore: 0,
integrationType: String,
NationalId: 0,
ChapterId: 0,
ContextIntegrationPartnerId: 0,
AuthenticationId: 0,
Token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Token: String,
CardVerificationDetails:
{
IsError: False,
IsDuplicate: False,
GatewayResponseCode: String,
GatewayMessage: String,
NetworkVerificationAttempted: False,
CvvVerificationResult: String,
AddressVerificationResult: String,
PostalCodeVerificationResult: String,
NetworkTransactionId: String
},
AchVerificationDetails:
{
IsError: False,
NetworkVerificationAttempted: False,
Result: String,
Code: String,
Message: String
}
}