submit_checkout_payment
Submit the selected payment methods for a Carrefour checkout and retrieve updated totals, remaining balance, and available payment options to proceed with the drive order payment.
Instructions
Submits payment method selection for the authenticated user's checkout on Carrefour France. Sends the chosen payment methods (e.g. credit card by saved card ID, loyalty card with a specific amount) for a given basket service type (e.g. 'driveclcv' for drive click-and-collect). Returns the total and remaining amounts, available payment methods with provider tokens/URLs (Apple Pay, CB credit card, card pass, etc.), saved payment methods, and the payment group. Useful for initiating the payment step during checkout. (requires an authenticated Carrefour session)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payments | Yes | List of payment method objects to apply. Each object can have: 'type' (e.g. 'CB' for credit card, 'CRF_LOYALTY_CARD' for Carrefour loyalty card), 'cardId' (for saved credit cards), and 'price' (object with 'value' in cents and 'scale' for fractional digits, used when partially paying with loyalty points). An empty array triggers retrieval of available payment methods. | |
| apple_pay | No | Whether Apple Pay is available on the user's device. Sent as string 'true' or 'false' in the 'apple-pay' header. | |
| google_pay | No | Whether Google Pay is available on the user's device. Sent as string 'true' or 'false' in the 'google-pay' header. | |
| is_shortcut | No | Whether this is a shortcut/express checkout flow. Usually false for standard checkout. | |
| professional | No | Professional account indicator. Usually null for standard consumers. | |
| checkout_type | Yes | The basket service type for the checkout (e.g. 'driveclcv' for drive click-and-collect). Sent as the 'checkout-type' request header. | |
| device_fingerprint_id | Yes | A device fingerprint ID used for fraud prevention, sent as the 'device-fingerprint-id' request header. |