Skip to main content

Prerequisites

To get the most out of this guide, you’ll need to:
  • Create an account on Creem.io
  • Have your API key ready

1. Create a product

Go over to the products tab and create a product. You can add a name, description, and price to your product. Optionally you can also add a picture to your product that will be shown to users.
After successfully creating your product, you can copy the payment link by clicking on the product Share button. Simply send this link to your users and they will be able to pay you instantly.

3. Customize with URL parameters

Payment links support query parameters that let you customize the checkout experience without any code. Append them to your payment link URL:
https://creem.io/payment/prod_xxxxx?discount_code=LAUNCH50&theme=dark

Available parameters

ParameterExampleDescription
discount_code?discount_code=LAUNCH50Pre-applies a discount code to the checkout. The discount is validated and applied server-side when the checkout session is created.
theme?theme=darkSets the checkout theme to light or dark, overriding your store’s default branding theme.
metadata[key]?metadata[source]=twitter&metadata[campaign]=launchPasses custom metadata key-value pairs to the checkout session. Metadata is included in webhook events and can be retrieved via the API. Use bracket notation for each key.
You can combine multiple parameters: ?discount_code=SAVE20&theme=dark&metadata[source]=email
Parameters like discount_code and metadata are processed server-side and won’t appear in the final checkout URL. The theme parameter and any other unrecognized parameters are forwarded to the checkout page as query strings.

More use cases

If you are not planning to do a no-code integration, we strongly encourage you to check out our other guides. Create checkout-sessions and prices dynamically, use webhooks to receive updates on your application automatically, and much more. Check out our guides to get the most out of Creem.