Trelis Docs

Micropayments Paywall

A WordPress Plugin
Trelis' Micropayments Paywall allows Wordpress site owners to paywall their content and provide access when visitors make a micropayment.
Micropayments Paywall currently supports:
  • Card payments via Stripe
  • Digital payments via Trelis (USDC on the Polygon Network)
The micropayments plugin is available for download here.
You can also access the premium version (which enables a Stripe payment gateway), from the same link.

Getting Started

  1. 1.
    Install the Micropayments Paywall plugin.
  2. 2.
    Activate the plugin.
  3. 3.
    Go to your WordPress dashboard and click on 'Paywall' on the left-hand menu.
  4. 4.
    Configure at least one payment gateway. See more below on Trelis (digital wallet) and Stripe (card).
  5. 5.
    From "Posts" on the left-hand menu, create or edit a post. Enable the paywall by checking the "Enable Paywall" box.
  6. 6.
    Set the price for the post in the "Product Price" field.
  7. 7.
    Publish or Save the post.
  8. 8.
    That's it! Your post will now be paywalled.

Configuring Trelis Payment Gateway

Trelis facilitates direct payments from a customer's wallet to yours, over the Polygon network.
Trelis is in alpha and does not charge fees at present. You and your customers need a wallet to use Trelis. You can find a list of recommended wallets when you connect at
You can set the price of posts as low as you wish, e.g. $0.05.
To configure Trelis within WordPress -> Settings -> Micropayments Paywall Settings:
  1. 1.
    Copy the Trelis Webhook URL.
  2. 2.
    Navigate to and connect your wallet. This wallet will receive payments. If you don't have a wallet, you can create one by clicking 'Connect' on the home page.
  3. 3.
    Navigate to the API screen to create a new API key.
  4. 4.
    Enter the Webhook URL you copied from WordPress.
  5. 5.
    Now, copy the apiKey, apiSecret, and webhook secret you receive from and enter them into the Micropayments Paywall Settings (look for "Paywall" on the left-hand menu of your dashboard).
  6. 6.
    Press "Save Settings" to confirm changes.

Configuring Stripe Payment Gateway

If you have a Stripe account, you can allow customers to pay you via card if you have purchased the Premium plugin.
Stripe fees typically include a flat fee (often 30c) plus a fixed percentage over 2.5%. In certain cases, you can request micropayment fee rates.
!!! Stripe does not allow for payments below 0.5 Euro. For this reason, if you enable the Stripe payment gateway, the minimum you can charge for a post is $0.75.
To configure Stripe within Micropayments Paywall Settings (accessible via "Paywall" on your WordPress dashboard):
  1. 1.
    Copy the Stripe Webhook URL.
  2. 2.
    Navigate to and log into your account. This account will receive payments.
  3. 3.
    Search for "webhooks" in the developer section of the site and create a new webhook for the Stripe Webhook URL you copied over from WordPress. You can set the webhook to receive all events.
  4. 4.
    Again, on your Stripe dashboard, find your API keys in the developer setting. Set up a new key and get the public key and the secret.
  5. 5.
    Enter the public key (which is the API key) and the secret (API secret) into Micropayments Paywall Settings (accessible via "Paywall" on your WordPress admin dashboard).
  6. 6.
    Press "Save Settings" on WordPress to confirm changes.

Frequently Asked Questions

How do users pay for the content?

Users can pay for the content by clicking the "Purchase this post" button that appears when the content is paywalled. If a user is not logged in, they will be prompted to log in before they can pay. They can pay using Trelis (digital wallet) or Stripe (card). If they don't have a wallet, they are presented with options for creating one on the payment page.

Can I set different prices for different posts?

Yes, you can set different prices for each post by editing the "Product Price" field in the paywall meta box. If you enable Stripe, you cannot set the price below 75c.

What payment methods are supported?

Card payments via Stripe and USDC payments on Polygon Network via Trelis.

What is the pricing?

Apart from payment gateway fees, this plugin is currently free.