Accept Titres-Restaurant payments using our APIs, and build your own payment form to have full control over the look and feel of your checkout page.
Requirements
Requirement | Description |
---|---|
Integration type | Make sure that you have built an API-only integration. |
Setup steps | Before you begin:
|
Build your payment form for Titres-Restaurant
If you are using the /paymentMethods request to show the available payment methods to your shopper, specify the following in your request:
- countryCode: FR
- amount.currency: EUR
In the response, you receive the meal vouchers available to your shopper as elements in the paymentMethods
array, for example:
Apetiz and mealVoucher_FR_natixis refer to Bimpli, the commercial brand for Natixis.
Render logos and names of the available brands for the shopper to choose. When the shopper selects a type of meal voucher, show the payment form.
Check the balance
After the shopper enters the meal voucher details, check if the balance is enough to make a full payment.
-
Make a /paymentMethods/balance request including:
Field Required Description paymentMethod.type
mealVoucher_FR paymentMethod.number
The meal voucher number. paymentMethod.expiryMonth
Expiry month of the meal voucher. paymentMethod.expiryYear
Expiry year of the meal voucher. reference
Your reference to uniquely identify the transaction. To provide multiple references for a transaction, separate them with hyphens ("-"). Maximum length: 80 characters.