Use token for subscriptions/installments
To process merchant-initiated transactions (MIT) on your customers' behalf for i.e. subscriptions or installments, add the following properties to your CreatePayment request:
{
"order":{
"amountOfMoney":{
"currencyCode":"EUR",
"amount":100
},
"references":{
"merchantReference":"1656075138"
}
},
"cardPaymentMethodSpecificInput":{
"authorizationMode":"SALE",
"transactionChannel":"ECOMMERCE",
"isRecurring":"true",
"token":"b29e81c31a6849a69fcf842b0e9da65e"
}
}
Properties |
---|
cardPaymentMethodSpecificInput.token: Points to the credit card profile stored on our platform you want to use |
cardPaymentMethodSpecificInput.transactionChannel: Fixed value "ECOMMERCE" to indicate that COF info is used to process this scheduled payment |
cardPaymentMethodSpecificInput.isRecurring: Fixed value "true" to indicate that COF info is used to process this scheduled payment |
- This use case does not require to include properties unscheduledCardOnFileRequestor/unscheduledCardOnFileSequenceIndicator. Use cardPaymentMethodSpecificInput.isRecurring instead
- To ensure the issuer accepts the transaction, you need to send the same amountOfMoney.amount / currency and interval for all payments related to this token
- As this usage pattern does not involve customers initiating the payment, a 3-D Secure check is not applicable. Therefore, it is instrumental that you have enforced processing the first transaction with SCA when creating the token. Otherwise, the issuer might decline the transaction