<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Freeport</title>
    <description>The latest articles on DEV Community by Freeport (@freeportgg).</description>
    <link>https://dev.to/freeportgg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4259668%2Fd4571531-01a3-4080-b00a-2ac612ead65d.png</url>
      <title>DEV Community: Freeport</title>
      <link>https://dev.to/freeportgg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/freeportgg"/>
    <language>en</language>
    <item>
      <title>How we fight fraud on a marketplace for game gold, items and accounts</title>
      <dc:creator>Freeport</dc:creator>
      <pubDate>Tue, 24 Nov 2026 14:00:00 +0000</pubDate>
      <link>https://dev.to/freeportgg/how-we-fight-fraud-on-a-marketplace-for-game-gold-items-and-accounts-lm7</link>
      <guid>https://dev.to/freeportgg/how-we-fight-fraud-on-a-marketplace-for-game-gold-items-and-accounts-lm7</guid>
      <description>&lt;p&gt;Selling game gold, items or accounts between strangers attracts fraud like almost nothing else online. The money moves fast and the game items move slow inside a game the marketplace can't see or control.&lt;/p&gt;

&lt;p&gt;We run Freeport, a UK marketplace for game currency, items, accounts and boosting that opened in November 2026. This post is how we built against the fraud this trade attracts and what each rule costs the honest sellers who have to live with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fraud every game marketplace sees
&lt;/h2&gt;

&lt;p&gt;Most of what goes wrong comes down to four moves.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A buyer receives the gold then asks their bank to reverse the card payment. This is chargeback fraud or sometimes called friendly fraud. When this happens the seller is left with nothing.&lt;/li&gt;
&lt;li&gt;A seller sells a game account then takes it back through a recovery option still connected or even bound when creating the account.&lt;/li&gt;
&lt;li&gt;Someone moves the deal off the site to attempt payment or a chat-app where no one can hold the money or fairly judge a dispute.&lt;/li&gt;
&lt;li&gt;A seller fakes a track record. Has friends or a second account of their own buy from their own listing to unlock faster payouts and a better rank.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Nothing we do makes these impossible. The aim is to make each one slow, small and easy to see.&lt;/p&gt;

&lt;h2&gt;
  
  
  How payments and chargebacks are handled
&lt;/h2&gt;

&lt;p&gt;When a buyer pays for an order the payment is held on their card. The seller then has 30 minutes to accept or decline the order. If accepted, the payment is charged and lands in the seller's account as a pending balance. If they decline or nobody accepts within 24 hours, the hold is released automatically and the buyer is never charged. The buyer can cancel at any time, check if the seller is online and message the seller before order acceptance.&lt;/p&gt;

&lt;p&gt;Once the payment is marked as complete, the payment provider holds the money until the seller delivers. The seller's pending balance becomes available once the buyer confirms the delivery. If there is no confirmation within 72 hours the system will mark it as delivered automatically and the seller receives his funds. A dispute opened during an order stops the clock where it is, Freeport then steps in to decide the outcome based on evidence in the order.&lt;/p&gt;

&lt;p&gt;A buyer who disputes a payment cannot place a new order until settled. One chargeback is not a pattern but nobody gets to run up a second while the first is open.&lt;/p&gt;

&lt;p&gt;For items and currency the buyer provides the character name and server. Accounts are delivered directly and boosting needs a character name and is done in a party or shared account. The evidence has to live on the order. The seller's evidence is a video including the buyer's name, server and hand off or completion of the service with matching details. The chat, the screenshots and payment are all in one place. Discord messages are not accepted as proof of any sort. That sounds strict but it is the only way someone outside of the conversation can make a fair decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why are new sellers limited?
&lt;/h2&gt;

&lt;p&gt;A brand new account is the cheapest thing a fraudster can abuse. A new seller on Freeport can only take so much volume in sales at once. When they reach that cap their offers come off the boards and checkout refuses any orders from them. The cap can be lifted early or lifts once they have a record of delivery from the orders that capped it.&lt;/p&gt;

&lt;p&gt;While developing this we found a race hiding in that rule. Two buyers could check out with the same new seller in the same instant and it would take the seller over the limit. So now the checkout places a lock for that seller inside the order's own database transaction and then reads the seller's figures again once it holds the lock.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- inside the transaction after the buyer's lock&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="nf"&gt;pg_advisory_xact_lock&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;hashtextextended&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;seller_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;seed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;-- read what the seller has in flight again and refuse this order if it no longer fits&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The second checkout waits for the first to finish then checks the order. It is refused if there is no seller limit left. Payments that are still pending count toward the cap as well.&lt;/p&gt;

&lt;h2&gt;
  
  
  Payout holds that follow a track record
&lt;/h2&gt;

&lt;p&gt;The seller's money arrives pending before it can be withdrawn. How long depends on their record and on what was sold. Every figure is public on freeport.gg/fees.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What you sell&lt;/th&gt;
&lt;th&gt;New seller&lt;/th&gt;
&lt;th&gt;After 5 sales&lt;/th&gt;
&lt;th&gt;After 25 sales&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Game currency&lt;/td&gt;
&lt;td&gt;14 days&lt;/td&gt;
&lt;td&gt;7 days&lt;/td&gt;
&lt;td&gt;3 days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Items&lt;/td&gt;
&lt;td&gt;14 days&lt;/td&gt;
&lt;td&gt;7 days&lt;/td&gt;
&lt;td&gt;3 days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Boosting and services&lt;/td&gt;
&lt;td&gt;14 days&lt;/td&gt;
&lt;td&gt;7 days&lt;/td&gt;
&lt;td&gt;3 days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accounts&lt;/td&gt;
&lt;td&gt;14 days&lt;/td&gt;
&lt;td&gt;14 days&lt;/td&gt;
&lt;td&gt;14 days&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Accounts never drop below 14 days. No matter the record. A sold account can be pulled back long after the sale so the money stays within reach for longer. An account that is pulled back at any time after an order is expected to be replaced or settled in the buyer's favour.&lt;/p&gt;

&lt;p&gt;Records that shorten a hold are hard to fake. Only completed orders from other buyers count. Each buyer counts once in each fixed 30-day period. Sales to yourself never count. A friend who buys from you twenty times inside one of those periods gives you one sale until the last tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Money only leaves after human review
&lt;/h2&gt;

&lt;p&gt;Every withdrawal is verified by staff and checked against the ledger before it is paid. The amount leaves the seller's balance the moment they ask so the same money cannot be requested twice. A refused or failed withdrawal puts it back to the same balance.&lt;/p&gt;

&lt;p&gt;After any important account change like a password, email, two-factor or a bank account, no new withdrawal can be requested for 24 hours and the account holder gets an email warning them of the change. If someone takes over an account, the real owner has a day to notice before any money can move then up to an additional 24 hours before any money is moved. That's if it passes a human check on the way out.&lt;/p&gt;

&lt;h2&gt;
  
  
  A ban follows the person and not the account
&lt;/h2&gt;

&lt;p&gt;Every seller must pass an identity check before they can sell. A ban is tied to the person that verified. It crosses every account they hold not just the one that was caught.&lt;/p&gt;

&lt;p&gt;One design choice made that simple. We never store a verified flag on an account. Verified is worked out from an approved check whose identity is not on that block list today. One block un-verifies every account that showed that identity at once. Lifting it restores them all with nothing rewritten.&lt;/p&gt;

&lt;p&gt;Buyers get asked for a check only when they hit a spending limit or when our team asks for one. There is no verify me button and there never will be. The check costs us money whether it passes or fails and an open button is a way for throwaway accounts to burn it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keeping the deal on the site
&lt;/h2&gt;

&lt;p&gt;An automatic check reads order messages for email addresses, links, phone numbers, the names of messaging apps and outside payment methods. It blocks nothing. It warns the sender and shows the message to our team who decide how serious it was and how to respond. Any seller who tries to move an order off the site is usually banned as it's seen as an attempt to bypass the buyer's protection.&lt;/p&gt;

&lt;p&gt;Reviews work on the same idea. Only buyers whose cards were charged can review an order. Fake reviews need a real payment behind them which creates a trail that can be easily identified.&lt;/p&gt;

&lt;h2&gt;
  
  
  Our seller tools follow the same rules
&lt;/h2&gt;

&lt;p&gt;Sellers can manage their listings through our API or import them with an AI assistant such as Claude, ChatGPT or Glama. The AI can only save drafts. It cannot publish, reprice or edit a live listing. Every imported line is checked against the same rules as a listing typed by hand. A draft that carries contact details cannot go on sale through any door, the API included.&lt;/p&gt;

&lt;p&gt;Writes to the API take an idempotency key so a retry after a timeout cannot make the same change twice.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs honest sellers
&lt;/h2&gt;

&lt;p&gt;Every one of these rules lands on honest people too. A new seller sells less and waits longer for their money. A buyer who spends a lot may be asked for ID. A good seller still waits 14 days on an account sale.&lt;/p&gt;

&lt;p&gt;We think the trade is worth it. We publish every figure so a seller knows the rules before they list. A chargeback or a lost dispute is not on its own proof of fraud and our terms say so. Appeals are free.&lt;/p&gt;

&lt;p&gt;If you are building something similar here is the lesson we would pass on. Any limit that adds up money needs a check or two requests in the same instant will walk straight past it.&lt;/p&gt;

&lt;p&gt;Every rule in this post is public at freeport.gg/fees and freeport.gg/help/staying-safe.&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>startup</category>
      <category>gamedev</category>
    </item>
  </channel>
</rss>
