Token für Direktkäufe gebrauchen
To process customer-initiated transactions (CIT) for irregular/spontaneous purchases in your webshop (also known as 1-Click-Payments), add the following properties to your CreatePayment/CreateHostedCheckout request:
{
"order":{
"amountOfMoney":{
"currencyCode":"EUR",
"amount":100
},
"customer":{
"device":{
"acceptHeader":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
"locale":"en_EN",
"timezoneOffsetUtcMinutes":180,
"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36",
"browserData":{
"colorDepth":"24",
"javaEnabled":true,
"javaScriptEnabled ":true,
"screenHeight":1080,
"screenWidth":1920
}
}
}
},
"cardPaymentMethodSpecificInput": {
"token":"CIT-unscheduled-payments-token",
"unscheduledCardOnFileRequestor":"cardholderInitiated",
"unscheduledCardOnFileSequenceIndicator":"subsequent",
"threeDSecure":{
"challengeIndicator":"no-challenge-requested"
}
}
}
Properties |
---|
cardPaymentMethodSpecificInput.token: Points to the card profile stored on our platform you want to use |
cardPaymentMethodSpecificInput.unscheduledCardOnFileRequestor: Fixed value "cardholderInitiated" |
cardPaymentMethodSpecificInput.unscheduledCardOnFileSequenceIndicator: Fixed value "subsequent" |
threeDSecure.challengeIndicator: We recommend value "no-challenge-requested" to raise the chance of a frictionless flow or requesting an exemption/exception from 3-D Secure |
Check with your acquirer if you can leave out CVV in your request.
Even if you have processed the first transaction with SCA when creating the token, the issuer might still insist on another 3-D Secure authentication check. You can try to smooth the payment experience by applying either option
- Add 3-D Secure properties to your request to raise the chance of a frictionless flow
- Request an exemption/exception from 3-D Secure
Contact us as soon as you have your acquirer's approval so we can configure your PSPID accordingly