Headers
A secret key used to verify that the webhook request originated from FlexyPe. Ensure this token is validated to prevent unauthorized access.
Body
List of products currently added to the user’s cart at the time of checkout.
URL to redirect the user to FlexyPe Checkout.
The total discount applied to the entire cart, in the store’s currency.
The final amount the user has to pay after discounts and calculations.
The current status of the checkout session. This field reflects which step the user is on during their cart journey.Possible values:
INITIATED
: Cart session has been created but no user input has been provided.PHONE_ENTERED
: User has entered a phone number.OTP_VERIFIED
: User has successfully verified the OTP.ADDRESS_LOADED
: Address screen has been rendered or prefilled.ADDRESS_SHIPPING_SELECTED
: Shipping method has been selected after address submission.PAYMENT_LOADED
: Payment screen has been rendered.PAYMENT_INITIATED
: Payment has been initiated by the user.COMPLETED
: Order has been successfully completed.
The Shopify domain/subdomain for the merchant store.
Metadata about the client’s device and request.
Data related to marketing and tracking attribution.
Metadata captured from the user’s landing page and original source. This is typically used for attribution, analytics, and campaign performance tracking.