If you have already integrated card payment (CB/VISA/MASTERCARD) in embedded form smartForm using the class="kr-smart-form", the Conecs payment method will appear directly on the buyer’s journey.
From our online documentation:
paymentMethods field when creating the formToken by clicking on this link.Here are some examples:
| Use case | Values of the paymentMethods field |
| Offer all the eligible payment methods. | missing or empty |
| Offer BIMPLI (ex APETIZ) only. | ["APETIZ"] |
| Offer EDENRED only. | ["EDENRED"] |
| Offer SODEXO only. | ["SODEXO"] |
| Offer CHEQUE DEJEUNER only. | ["CHQ_DEJ"] |
| Offer the choice between SODEXO and CHEQUE DEJEUNER. | ["SODEXO","CHQ_DEJ"] |
| Offer the choice between payment by card, SODEXO and CHEQUE DEJEUNER. | ["CARDS","SODEXO","CHQ_DEJ"] |
| Offer the choice between payment by card and CONECS. | ["CARDS","CONECS"] |
You can create an alias (token) linked to a payment method to simplify future payments for the buyer (no need to re-enter certain card details).
| Use case | Field values formAction |
| Payment with the token creation option for the cardholder | ASK_REGISTER_PAY |
| Creating a token during a payment | REGISTER_PAY |
| Payment by token | PAYMENT |
You can pay the amount of eligible items using a meal voucher card. If the field is not transmitted, the whole amount will be considered eligible for payment by meal vouchers, including any delivery fees included in the order amount. For example, the eligible amount is 17,25 EUR for an order of 50,00 EUR.
Code sample
https://api.payzen.eu/api-payment/V4/Charge/CreatePayment
{
"amount":"5000",
"currency":"EUR",
"orderId":"myOrderId-1234",
"acquirerTransientData":{
"CONECS":{
"eligibleAmount":"1725"
}
}
}