> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokensupply.io/llms.txt
> Use this file to discover all available pages before exploring further.

# G2A

> Connect G2A, exchange API credentials, map products, and list offers on one of the largest digital goods marketplaces.

G2A is a global digital goods marketplace. You connect it, create offers against G2A products, map those offers to your TokenSupply products, and let stock and price sync out while orders come in. G2A supports dropshipping and, uniquely among the channels, live competitor pricing.

## Before you start

G2A connects through an exchange of API credentials: G2A generates a pair you copy into TokenSupply, and TokenSupply generates a pair you copy into G2A so it can call your store back. You will need access to your G2A merchant account.

* A G2A merchant account with API access.
* Your **G2A API credentials** (a client ID and client secret) from your G2A dashboard.
* Optionally, a second **Export API** credential pair for live competitor pricing. You can add this later.

You can find all of these in your G2A dashboard under **Store settings**, then **API Integration**.

## Connect G2A

The connect screen walks you through the exchange one step at a time.

<Steps>
  <Step title="Open G2A from Integrations">
    Go to **Integrations** and choose G2A.
  </Step>

  <Step title="Enter G2A's API credentials">
    Copy your G2A client ID and client secret from the API credentials panel in your G2A dashboard and paste them in. The G2A API URL and token URL are fixed and shown for reference, so you do not enter them.
  </Step>

  <Step title="Give G2A your import credentials">
    TokenSupply generates a contract credential pair and a set of callback URLs. Paste these into your G2A dashboard under Store settings, API Integration, so G2A can call your store. G2A checks the token URL before it accepts them.
  </Step>

  <Step title="Add Export API credentials (optional)">
    If you want live competitor pricing, add the second credential pair from G2A's Export API credentials tab. This is safe to add later.
  </Step>
</Steps>

<Warning>
  The generated client secret is shown only once. Copy it before you leave the screen. If you regenerate it, the old secret stops working immediately, so G2A needs the new pair before it can call your store again.
</Warning>

Once your G2A credentials are saved, use **Test connection** to confirm they reach G2A, then set the channel active.

## Map products

On the G2A page under **Sales channel**, use **New Offer** to create an offer, choosing a product and a price. A G2A offer starts empty: mapping and declaring stock are the separate steps that put it on sale.

Map an offer to a TokenSupply product by opening the row and assigning an internal product. Mapping routes fulfilment and can push your stock to the listing.

<Note>
  G2A owns the stock for its own key pools, so a non-dropshipping listing keeps its own count and will not take a push from you. Only a dropshipping offer sells from your shared pool. TokenSupply tells you which case a listing is in when you map it.
</Note>

## What syncs

* **Stock.** For dropshipping offers, TokenSupply pushes your key counts to G2A. You can also declare a fixed slice per channel so only that amount sells on G2A.
* **Price and commission.** G2A is the one channel with live competitor pricing behind it, so the Commission column and per-country price breakdown are real here. G2A can also auto-reprice to match the lowest price within a floor and ceiling on the sync tick.

Turn on **Auto-sync** on the G2A integration screen to push stock on a schedule, and choose the interval.

## How orders arrive

Orders from G2A flow into your Orders and appear on the G2A page. When a buyer checks out on G2A, G2A collects the keys from the mapped product's stock through your Import API, and the order is recorded as delivered. With **Auto deliver** off for the product, the paid order waits on its order page until you choose **Release Key**.

TokenSupply records the sales G2A makes through your Import API, and each sale becomes one order, even if G2A reports it more than once. Sales delivered some other way, for example on your G2A account before you connected it to TokenSupply, are not imported, so a key is never taken twice for one sale.

<Note>
  Related: [Connect a sales channel](/guides/sales-channels/connect-a-sales-channel) for the overview, and [How fulfilment works](/guides/selling-fulfilment/how-fulfilment-works) for what happens after an order is placed.
</Note>
