| 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 .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
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/csv
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"}}