Run post process for Fraud
ApiScope: payment.fraud.post.process
API Scope Level: ServiceSubscriberScope
application/json
Request Body required
invoiceGUID string
cardinalEnabled boolean
chargebacks int32
debitCard boolean
ccLastFour string
ipAddress string
run3DSByCardinal boolean
onlinePayment boolean
cardType string
cardinalFDResponse object
myKaarmaFDResponse object
jwtToken string
fraudDetector string
paymentRequestID int64
fdMode string
lastFraudDetectorInSequence boolean
authenticationType string
Responses
- 200
- 400
- 401
- 500
OK
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
fraudDetectionComplete boolean
nextFraudDetector string
blockCustomer boolean
sendBlockNotification boolean
block string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
],
"fraudDetectionComplete": true,
"nextFraudDetector": "string",
"blockCustomer": true,
"sendBlockNotification": true,
"block": "string"
}
Bad Request
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
]
}
Unauthorized
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
]
}
Internal Server Error
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
]
}
POST /kpayment/v1/fraudPostProcess
Request
Request
curl / cURL
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'
python / requests
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'
go / native
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'
nodejs / axios
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'
ruby / Net::HTTP
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'
csharp / RestSharp
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'
php / cURL
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'
java / OkHttp
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'
powershell / RestMethod
curl -L -X POST '/payment/kpayment/v1/fraudPostProcess' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"invoiceGUID": "string",
"cardinalEnabled": true,
"chargebacks": 0,
"debitCard": true,
"ccLastFour": "string",
"ipAddress": "string",
"run3DSByCardinal": true,
"onlinePayment": true,
"cardType": "string",
"cardinalFDResponse": {
"successfulAuthentication": true,
"failedAuthentication": true,
"is3DSecureUnenrolled": true,
"errorCode": "string",
"cardinalTransactionParams": {}
},
"myKaarmaFDResponse": {
"approved": true,
"declined": true,
"review": true
},
"jwtToken": "string",
"fraudDetector": "string",
"paymentRequestID": 0,
"fdMode": "string",
"lastFraudDetectorInSequence": true,
"authenticationType": "string"
}'