# Generate checkout **GET /shop/{customer}/checkout** Redirects to payment or checks payment codes ## Servers - https://shopmc.app/api: https://shopmc.app/api () - https://dev.shopmc.app/api: https://dev.shopmc.app/api () ## Parameters ### Path parameters - **customer** (string) Customer ID ### Query parameters - **product** (string) Product ID - **variant** (string) Payment variant - **data** (string) Additional data (like Blik or SMS code) - **discount** (string) Discount code - **amount** (integer) Amount of product - **return_url** (string) URL to redirect after payment (Shop success page) ## Responses ### 404 Product not found ### 302 Redirected to checkout ### 200 Success (mainly for checking codes) [Powered by Bump.sh](https://bump.sh)