InstantTransfer
  1. PayStar API Documentation
InstantTransfer
  • PayStar API Documentation
    • Introduction
    • Authorization Bearer
    • Sandbox
    • Callbacks
    • Glossary
    • Dictionarys
      • Currencys
      • Telecom operators
      • Bank names
    • Deposit direct (Merch)
      • Create | Deposit order
      • Check status | Deposit order
    • Deposit reverse (Gateway)
      • Create | Reverse deposit order
      • Check status | Deposit order
    • Withdrawal direct (Merch)
      • Create | Withdrawal order
      • Check status | Withdrawal order
    • Balance
      • GET Merchant balance
  • Armax API
    • POST Armax Order
      POST
  • Butler API Bridge
    • Authorization Bearer
    • Withdrawal direct | PDO API Bridge
      • Check status | Withdrawal order
      • Create | Withdrawal Order
    • PSP Deposit Order
      • PSP Deposit Order
      • PSP Deposit Order status
    • Merch Deposit Order
      • Merch Deposit Order
      • Merch Deposit Order status
  • CoreFy API
    • Withdrawal Order
      POST
    • Payment Order
      POST
  • PayNetEasy API Bridg
    • Introduсtion
    • Autorization
    • Glossary
    • POST order
      POST
    • POST Status order
      POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. PayStar API Documentation

Authorization Bearer

Please request an authorization data from the manager.
Уou can request one of your choice:
or publicKey & privateKey
or already generated Bearer token

How to genegate Bearer token#

For Bearer authorization, JWT (JSON Web Token) is used, utilizing the HS256 algorithm. The token includes publicKey in the payload and is signed with the privateKey.
The payload of our JWT will include the following field:
publicKey: The publicKey that corresponds to the private key used to sign the JWT.
privateKey: The privateKey is used to sign the JWT.

Example in Python#

Requirements
Install the pyjwt library using the command pip install pyjwt.
Code example:

Example in .NET Core#

Requirements
Install the System.IdentityModel.Tokens.Jwt package using NuGet.
Code example:
Modified at 2024-12-12 13:18:26
Previous
Introduction
Next
Sandbox
Built with