Jump to content

Recommended Posts

Hi can anyone help me out introducing a redeem cupons API to my website.

 

The API given by the websites admin is this

 

To use the API you will have to use basic auth with your steam64id as the username and your API key as the password on each request. You can find your API key by looking at the websites html source while you are logged in and looking for Window.App, it will be under api_secret.

 

Redeeming Coupon:

POST https://steamgems.com/api/v1/wallet/coupon/redeem

 

coupon_code (required)

receiver_id64 (optional)

 

 

Creating Coupons:

POST https://steamgems.com/api/v1/wallet/coupons/create

 

amount (required)

quantity (required)

 

It's pretty simple, just use /v1/wallet/coupon/redeem when they deposit and it will go to your account. Then to withdraw use /v1/wallet/coupons/create to create a coupon and use it with /v1/wallet/coupon/redeem while setting receiver_id64 to their steam64id to redeem on their account.

 

 

I really need this. Help would be much appreciated.

A sample code that i can i troduce myself would be awesome ❤️

 

If anyone can do it for me would be even better.

Edited by sevastian25
Link to comment
https://forums.phpfreaks.com/topic/303025-introducing-an-api-to-website/
Share on other sites

Don't they give you any code to use? Or is this supposed to be a manual connection only?

 

Have you researched on how to do basic auth using php? Or do you just want us to do it for you?

 

There is another forum here that does work-for-pay if you are interested.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.