Skip to content

The Winston API documentation is your resource for integrating Winston in to your next application!

License

Notifications You must be signed in to change notification settings

Winston-Services/api-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Winston API Documentation

The Winston API documentation is your resource for integrating Winston in to your next application!

With in this repository you will find resource on how to integrate Winston directly in to your life.

Winston is driving to create a place where you can learn to earn. We are building tools including a web3 shopping cart, social media integrations and other application integrations that allow you to utilze the Winston network and build on our decentralized financial future.

  1. General API Documentation
  2. Members API Documentation
  3. Card Services API Documentation
  4. Merchant Services API Documentation

Authentication Headers

In order to use some of Winston's API features you will need to authenticate with your API Developers Account Credentials. You can get your API Access by creating an account here

{
  'address': 'String',
  'token': 'String',
  'hash': 'String',
}

Developer Note Todo

Forming an API Signature

Object returned from /authenticate

const message = {
  address,// String
  token,  // String
  hash,   // String
}

Creating the Signature

const signer = ethers.Wallet.getSigner();
const headerSignature = signer.signMessage(JSON.stringfy(message));

Setting X-Headers

API requests will require the following x-headers:

{
  'x-api-user': `{address}`,
  'x-session-token': `{accessToken}`,
  'x-session-signature': `{headerSignature}`,
}

Need help, reach out to us in Discord or send us an Email

About

The Winston API documentation is your resource for integrating Winston in to your next application!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published