Sell access to your Discord server

Sell roles in your Discord server. Buyers connect Discord before they pay, Railbed's bot gives the role once the payment settles and takes it back when their access ends.

On this page

What it does

Paid Discord server is a ready-made setup on Create. You sell access to your Discord server from an ordinary checkout page, widget, pricing table or subscription plan, and Railbed's bot does the rest:

  • the buyer connects their Discord account on your checkout, before they pay;
  • once the payment settles, the bot adds them to your server and gives them the roles you chose, whether or not they come back to the checkout tab;
  • when their access ends (a pass runs out, or a subscription ends unpaid), the bot takes the roles back, and can remove them from the server if you want it to;
  • if they leave the server and rejoin while their access is still running, the bot gives the roles back.

Buyers always pay on Railbed's own page, by card or, if you've turned it on, crypto. Discord only shows a link. The bot is free to add and sells nothing of its own.

You can sell one-time access (for life, or for a set number of days) or a subscription. A subscription is billed by invoice, as every subscription on Railbed is: each period is an invoice your member pays themselves, and nothing is charged without them.

Before you start

  • Someone who owns your Discord server, or can manage it, to add Railbed's bot.
  • In Railbed, the Owner or Developer role to connect a server, and the Owner or Manager role to make the product (who can do what).
  • For Live sales, a payout wallet that can take Live payments, as for any checkout.

Connect your server

  1. Open Create and choose Paid Discord server in the strip along the top (about presets), or open Integrations → Discord (under Your community).
  2. Choose Add Railbed to a server. Discord asks which server and shows the two permissions Railbed uses: Manage Roles, to give and take back the role, and Create Invite, for buyers it can't add directly.
  3. Approve in Discord. You come back to Railbed with the server chosen, and Railbed checks it straight away. With one working server connected, the setup starts with it chosen.

Each server's card on Integrations → Discord shows the server's icon and name as they are in Discord, how many members it has, who added Railbed (linked to their Discord profile) and Open in Discord. It also shows three checks, each with a text label:

CheckWhat it means
Railbed is in the serverThe bot is there and can act
Railbed’s role is above every role it givesDiscord only lets a bot give roles below its own role; the card names any role that isn't
Railbed has the permissions it needsManage Roles and Create Invite, and Kick Members if a product removes members from the server

Press Check again after you change something in Discord. A server can be connected to one Railbed business. A Manager can use a server that's already connected; if none is, they're asked to send an Owner or Developer a link.

Choose the roles

The setup lists your server's roles from top to bottom, with Railbed's own role drawn as a line: Railbed can't give roles above this line. To give one of those, open Server Settings → Roles in Discord and drag the Railbed role above it, then choose Check again.

Choose one to five roles. Some roles can't be chosen, and the setup says why: roles managed by Discord or another app, the server booster role, and @everyone. Make a new role creates a role with no permissions, placed under Railbed's role; give it access to your channels in Discord.

How they pay and when access ends

ChoiceWhat the buyer gets
One time, LifetimeThe roles until you remove them. The same Discord account can't buy the same lifetime access twice; the checkout says so before anything is paid
One time, For a set timeThe roles for 1 to 3,650 days from when the payment settles. Buying again adds the days after the time they already have
SubscriptionThe roles for as long as the subscription runs (below)

When access ends, choose Remove the role (the default: they stay in the server without it) or Also remove them from the server. The second needs the Kick Members permission. If the bot doesn't have it, choose Allow in Discord, which asks Discord for that one permission on that server, or tick Kick Members on the Railbed role yourself and choose Check again. Railbed never removes someone from the server while anything else of theirs there is still running.

Then choose Continue to the builder. A one-time product opens the checkout builder (switch to a widget or a pricing table there); a subscription opens the plan builder. Both open with a Discord access section filled in. Price, look, customer details and sharing work as for any other checkout. Nothing is saved until you save the product.

You can also add Discord access to a checkout, plan or one-customer subscription you already have: once a server is connected, choose Add Discord access at the foot of the builder's sections. On a pricing table, each plan can have its own roles (Roles for this plan).

What buyers see

  1. Under the price: "Includes access to {your server} on Discord" and how long access lasts. On a pricing table, the roles show once the buyer chooses a plan, in that plan's Connect step.
  2. Connect Discord, above the email field, with this line until they connect: "You'll sign in to Discord and approve Railbed. Railbed sees your Discord username and picture. After you pay, it adds you to {server} and gives you the {role} role. It never posts as you."
  3. Discord asks them to approve, then sends them straight back to the same page with what they typed kept. The page reads Connected as their name, with Not you? Use a different account. Continue stays off until Discord is connected. An account already in your server reads "You're already in {server}. You'll get the {role} role." If your product offers reminders in Discord, the buyer ticks that box before connecting.
  4. They pay as usual. On a widget or pop-up inside your own site, Connect opens Discord in a new tab, because Discord can't be shown inside a frame.

Once the payment settles, the bot adds them to the server and gives the roles. If they come back to the checkout tab, the receipt shows "Adding you to {server}", then "You're in", with Open Discord and Manage your access. That last link opens their own access page: what they have, the date it runs to, any invoice to pay, Check my access, and Rejoin {server} if they've left or couldn't be added.

A payment that needs your decision gives no access until you accept it (held payments); the buyer reads "Your Discord access starts once {business} confirms the payment."

The same Connect step appears on a plan's sign-up page, on an invoice's page (before Pay), and on the page of a checkout your developer starts through the API. A subscription's later invoices don't ask again: access stays with the account the subscriber connected. A buyer who pressed Buy inside Discord (from the panel or /join, below) is already connected and reads "Access goes to @{their username}".

Subscriptions and reminders

Nothing is charged automatically and nothing new is implied. The subscription sends its invoice each period, as today; the member pays it; the role simply stays.

What happensDiscord access
TrialGiven at once
The renewal invoice is open, or past dueKept
The subscription ends unpaidRemoved on the day it ends, the last day to pay its invoice
Set to end at the end of the paid timeKept until then; Keep undoes it
Canceled nowRemoved now
PausedKept to the end of the time already paid for, then removed until it's resumed

A plan with Discord access needs a day on which an unpaid subscription ends, because that's the day access ends. The builder refuses "never" and says why.

Buyers can tick "Message me in Discord when a payment is due or my access is about to end" when they connect. Only those who tick it get messages: three days before an invoice is due, on the due day, and two days before the last day to pay, each with Pay invoice; for a pass with an end date, three days before it ends, with Buy again. Every message has Stop these messages, there's never more than one a day for a server, and none is marketing. Your own emails to them aren't affected. To offer no reminders at all, turn off Members can get payment reminders in Discord in the Discord access section.

Sell from inside Discord

In the channel where the offer should live, run /railbed panel. The bot posts one message, "Get access to {your server}", with a Get access button. A member who presses it privately sees what's on sale in your server, each with Buy, which opens your checkout with their Discord account already connected. The panel reads your products when it's pressed, so you never need to edit it.

CommandWho can use itWhat it does (only the person who ran it sees the reply)
/joinAnyoneWhat's on sale in this server, each with Buy
/membershipAnyoneWhat they have, its status and the date it runs to, any invoice due with Pay invoice, Manage, Check my access and Move to another account
/railbed panelMembers who can manage the serverPosts the Get access panel in the channel
/railbed statusMembers who can manage the serverThe server's checks in words, and how many members have access
/railbed setupMembers who can manage the serverWhether this server is connected, with a link to Railbed

Check my access puts a missing role back on the spot, once a minute at most. Move to another account lets a buyer move their access to a different Discord account, once every seven days: the old account loses the roles before the new one gets them. You can also send a buyer a new connect link from Members.

Members

Integrations → Discord → Members has one row per purchase: the member's Discord name and picture, the customer (linked to their profile), the product, the roles, the status with its reason, "Paid through", "Ends" or No end date, and how they got it: Paid, Subscription or Given by a person on your team. Filter by status with the chips (the statuses that pass by themselves, such as Giving access and Removing access, are under More statuses), by server and product, or search by Discord name or email. Open a row for its details, with Discord profile to open the member's profile in Discord. Names and pictures follow Discord: when a member changes theirs, Railbed shows the new one. The same line appears on a customer's profile, in the order drawer and on a subscription's page.

StatusMeaning
Has accessThe roles are given
Waiting for paymentConnected, not paid yet
Giving accessPaid; the bot is giving the roles
Needs attentionSomething stops the bot; the row says what and what to do
Removed in DiscordSomeone in Discord took a role away (below)
EndingAccess ends on the date shown
Removing accessEnded; the bot is taking the roles back
Access not removedDiscord hasn't confirmed the roles are gone yet; the bot keeps trying
EndedThe roles are gone

Railbed only marks access removed once Discord confirms it. What you can do from a row:

  • Give access (top of the page): free access for a customer. Pick the server and roles, an end date or No end date, and a reason, then either pick someone already in the server or copy a single-use connect link to send them.
  • Remove access: takes the roles back now. A reason is required, and it stays removed through renewals until you choose Give it back. Railbed has no refunds: if you refund a buyer yourself, removing access is the step in Railbed.
  • Retry and Check now: try again after you fixed something in Discord.
  • Send a connect link: for a buyer who needs to connect or change their Discord account.

When a moderator removes a role

If someone in Discord takes away a role Railbed gave, the bot leaves it off and tells you. The row reads Removed in Discord with two choices: Restore access gives the role back, and Remove access ends their access in Railbed. Until you choose, the bot doesn't put it back, and /membership tells the member: "A moderator in {server} removed your {role} role. Ask them to restore it." If they pay again in the meantime, the row says "Paid again; role was removed in Discord". A member who leaves the server and rejoins is different: they get their roles back when they rejoin.

Changing a product

  • Change its roles: everyone who has it moves to the new roles. The save tells you how many; new roles are added before old ones are removed.
  • Take Discord access off a product, or delete it: choose whether current members keep their access until it ends (the default) or lose it now. No one new can buy access either way.
  • Two products that give the same role: a member keeps it while either is running. Ending one never takes away a role another still gives.

When something needs attention

Railbed sends one notice per problem, in the bell and, per your settings, by email, Telegram and Slack, never one per member.

NoticeWhat to do
Railbed was removed from {server}Add Railbed again. Members keep the roles they have, but new buyers can't get access and roles won't come off until you do
Railbed can't give {role} in {server}Drag the Railbed role above it in Server Settings → Roles
{role} was deleted in {server}Pick another role on the product
Railbed lost a permission in {server}Give the Railbed role the permission it names
{n} members in {server} need attentionOpen Members, filtered to them
Railbed's bot is turned off for {server}Contact support

While a server can't give access, its products refuse new buyers before they pay: the buyer reads that Discord access isn't available right now and that nothing was charged. Taking money for access that can't be given would be worse. The notice above is how you hear about it, and the fix lifts the refusal.

A single member can need attention too:

  • Banned from the server: Discord won't let Railbed add them. Unban them, then press Retry, or cancel their subscription. A refund is between you and the buyer.
  • In too many servers: Discord limits how many servers an account can join. They leave one and press Try again on their access page; Railbed also tries each day for a week.
  • Not in the server, and their Discord sign-in has expired: their access page shows an invite that only their account can use.

Disconnect on a server's card works in every account state. Members keep the roles they have, Railbed stops adding and removing roles and its bot leaves the server. Subscriptions keep sending invoices, so cancel them first if they shouldn't. Connecting the same server again later picks up where it left off.

Try it in Test mode

A connected server works in both modes. In Test mode, make the product, open its page as your team, connect your own Discord account and simulate the payment: you get the real role in your real server, so you see the whole flow once before you go Live. Test purchases are labelled Test in Members and in the bot's replies, Test never emails a customer, and Test reminders go only to the team member who opted in. Remove Test members on the server's card takes every Test role back in one go.

What Railbed keeps about a Discord account

For each buyer who connects: their Discord account id, username, display name and picture, and their Discord sign-in, kept sealed only while a purchase could still need it to add them to your server. Railbed never asks Discord for their email, never posts as them, and keeps nothing about anyone in your server who hasn't bought. You see their Discord id and username in Members, because you need them to run your server.

When you erase a customer, their access ends, the bot takes the roles back, and once Discord confirms it their Discord details are deleted. Railbed's privacy policy covers the rest.

Who can do what

You want toRoles that can
See servers, their checks and membersEvery role
Connect, check or disconnect a serverOwner, Developer
Put Discord access on a checkout or planOwner, Manager
Put it on a subscription for one customerOwner, Manager, Sales (their own)
Give or remove access, send connect linksOwner, Manager

Next step

Updated · This page as Markdown