mutation

checkoutCart

Enhanced version of checkout process that supports multiple mode of payment(MOP).
Arguments
buyNow
Boolean
Whether to checkout a Buy Now cart. Example: false
cartCheckoutDetailRequestInput
CartCheckoutDetailRequestInput
Checkout request including cart/payment details, addresses, callbacks, order type, and metadata. Example: { cart_id: '5bb521cfdc83215e1889b346', payment_mode: 'CARD' }
cartType
String
The type of cart.
Response
app_intercept_url
String
App intercept url for app redirection. Example: 'fynd://checkout/callback'
callback_url
String
Callback url after payment success/failed. Example: 'https://example.com/pay/callback'
Checkout cart detail respoonse schema includes cart id, delivery promise, items, comment, coupon text etc.
data
JSON
Payment related fields returned by the API across different aggregators (like Razorpay, Juspay, Paytm, Simpl, etc.). It contains details such as transaction amount, payment method, aggregator info, wallet/bank codes, callback URLs, and QR or UPI information.
message
String
Message of the cart checkout API response. Example: 'Checkout initialized'
order_id
String
Order id generated after placing order. Example: 'FY2025-10001'
payment_confirm_url
String
Payment confirm url used to redirect after payment is confirmed. Example: 'https://example.com/pay/confirm'
success
Boolean
Success flag of cart checkout API response. Example: true
Mutation
Loading...
Try it
Input Variables
Loading...
Response
Loading...