cURL
curl --request POST \ --url https://api.paritydeals.com/api/v1/lemon-squeezy-checkout/ \ --header 'Content-Type: application/json' \ --data '{ "checkout_data": {}, "pd_identifier": "your_pd_identifier", "ip_address": "192.168.1.1", "store_id": "your_store_id", "success_url": "https://your-success-url.com" }'
{ "id": "994d1506-2baf-41b3-80a9-7c0ac9c9e368", "url": "https://paritydeals.lemonsqueezy.com/checkout/custom/994d1506-2baf-41b3-80a9-7c0ac9c9e368?signature=f43c0fd78c65f2649bbccf28b544b141353b528e05d30743def15c917ea5ecf0" }
This endpoint creates a checkout session with LemonSqueezy and applies geographic pricing and discounts as configured in ParityDeals. It returns a checkout URL.
Successfully created Checkout session
The response is of type object.
object