Developer kits

A pay with skins button for any website

Add one script and your page can open the SkinsGateway checkout in a window, a popup or a redirect. Customers never feel like they left your site.

Load it from https://skinsgateway.com/pay/js/v1.js

  • Any website
  • A server that creates payments
  • HTTPS

How a payment works

  1. They paste their Steam trade link and choose CS2, Dota 2 or Rust items worth the total.

  2. One Steam trade offer, confirmed in their Steam app. No account to create.

  3. Pay button is told and marks the order paid. You get USD on your balance.

The customer has picked two skins in the checkout. The checkout asks the customer to accept the trade in Steam. The checkout confirms that the payment is complete.

A redirect to another site at the last step is where some customers hesitate. The pay button keeps them on your page: the SkinsGateway checkout opens in an accessible window on top of it, and closes on its own when the payment is done.

Your server creates the payment as usual. Your page passes the checkout link to the button. The customer picks CS2, Dota 2 or Rust items and accepts one Steam trade inside the window, and your page hears how it went so it can show a thank-you message right away.

It is a single script with no dependencies that works under a strict Content Security Policy. Credit the order only when your server receives the signed notice; the browser message is for your page, not for your books.

Features

What you get with Pay button

Window, popup or redirect

A dialog over your page by default, a separate popup if you prefer, or a classic redirect.

Accessible

Keyboard friendly, closes with Esc, keeps focus inside and goes full screen on phones.

Your page stays in the loop

Callbacks and events tell your page when the payment succeeds, fails or the window closes.

No code for simple pages

Mark any button with one attribute and it opens the checkout.

Strict CSP friendly

No inline code, no dependencies. Allow one script and one frame source and you are done.

What customers pay with

Real items, priced live.

Items like these are what your customers trade. Each one is valued the moment their inventory loads.

On the market right now
  • AK-47 | Redline (Field-Tested) AK-47 | Redline Field-Tested $21.16
  • AWP | Crakow! (Battle-Scarred) AWP | Crakow! Battle-Scarred $13.39
  • Knife ★ Karambit | Tiger Tooth (Factory New) Karambit | Tiger Tooth Factory New $623.90
  • M4A1-S | Solitude (Factory New) M4A1-S | Solitude Factory New $8.10
  • Gloves ★ Sport Gloves | Bronze Morph (Battle-Scarred) Sport Gloves | Bronze Morph Battle-Scarred $53.61
  • Desert Eagle | Printstream (Battle-Scarred) Desert Eagle | Printstream Battle-Scarred $25.27
  • Knife ★ Butterfly Knife | Fade (Factory New) Butterfly Knife | Fade Factory New $1,503.18
  • USP-S | Printstream (Battle-Scarred) USP-S | Printstream Battle-Scarred $25.10
  • M4A4 | Desolate Space (Battle-Scarred) M4A4 | Desolate Space Battle-Scarred $9.25
  • Glock-18 | AXIA (Field-Tested) Glock-18 | AXIA Field-Tested $14.16
Install

Set up Pay button

  1. Create a project

    In the SkinsGateway dashboard, add your site under Projects & API keys.

  2. Create payments on your server

    Use an SDK or the API to create a payment for each order and get its checkout link.

  3. Add the script

    Load the pay button script from skinsgateway.com/pay on the page with your checkout.

  4. Add the button

    Give your pay button the checkout link, or call the script from your own code to open the window.

  5. Confirm on your server

    Set the Webhook URL in your project settings and fulfil orders only when your server receives the signed notice.

  6. Test, then go live

    Create payments with your test secret and try every outcome in the window.

FAQ

Pay button and skins payments

What does the pay button cost?

Nothing. The script is free. SkinsGateway charges 0% of each payment credited to your balance, with no setup or monthly fee.

Does it work inside an iframe or a single-page app?

Yes. The script works on any page and in single-page apps; you can open and close the checkout from your own code.

What if the popup is blocked?

The script falls back to the window over your page, so the customer can always pay.

Can I trust the success callback?

Use it to update your page, not to deliver. Deliver when your server receives the signed notice and has read the payment again.

What happens with Steam Trade Protection?

Steam can hold traded items for up to 7 days and return them to the customer in that window. A protected payment is not counted as paid yet: the window reports a protected status, and your server waits before it delivers. When the hold ends the payment completes on its own, or you can release it early in your SkinsGateway dashboard if you trust the customer.

Can I test before going live?

Yes. Turn on test mode and use your project's test secret. The checkout then shows real items with real prices but no item and no money moves, and buttons let you play every outcome: paid, protected, returned, declined. The window shows a clear Test mode banner.

Related integrations

Other ways to take skins

PHP SDK

PHP 8.0+ · ext-curl and ext-json

Create payments and check notices from any PHP site or framework.

Industries

Who uses it

Pay button, now taking skins.

Open an account, add your site, install. No review, no fees.

Create account