SDK Functions Definition
In this article, you will understand the definitions of various functions within our Windows SDK.
Note:
If you don't have the callback URL, please use the callback URL that is within your server or use https://oauth.pstmn.io/v1/browser-callback as the callback URL.
Important:
If you use the logout function, the RefreshToken is no longer valid, you need to login back in to get a new RefreshToken.
Below is the list of functions along with its definitions:
Functions | Definitions |
---|---|
| Sets the client id. |
| Sets the token. |
| Sets the refresh token. |
| Sets the secret. |
| Sets the callback URL. |
| Sets the base URL. |
| Sets the OAuth URL. |
| Sets the active terminal id. You must set the client id, secret, and token before making this call. |
| Gets the terminal list. |
| Sends the amount of the transaction to the active terminal to create the transaction. Please note that you need to set the client id, secret, and token before making this call. To enable the cashback functionality (optional), you can set the cashbackamount, if you wish to just create a normal transaction, you can just not set the cashbackamount. |
| Builds and returns the OAuth header based on the client id, secret, and callback URL. |
| Builds and returns the OAuth URL based on client id, secret, and callback URL. |
| Returns the status of the given transaction id. Please note that you need to set the client id, secret, and token before making this call. |
| Cancels the given transaction id. Please note that you need to set the client id, secret, and token before making this call. |
| Returns the transaction of the given transaction id. Please note that you need to set the client id, secret, and token before making this call. |
| Returns the transaction of the given transaction status. Please note that you need to set the client id, secret, and token before making this call. |
| Returns the transaction of the given type. Please note that you need to set the client id, secret, and token before making this call. |
| Returns the transaction for active terminal. Please note that you need to set the client id, secret, and token before making this call. |
| Requests report for the given type. Please note that you need to set the client id, secret, and token before making this call. |
| Refreshes the token. Please note that you need to set the client id, secret, and token before making this call. |
| Raw acces to the API. Please note that you need to set the client id, secret, and token before making this call. The payload parameter is the json string for payload. The path parameter is the path to call. The method parameter is the API method such as POST, GET, and DELETE |
💬 We're here to help!
If you're looking for help, shoot us an email. Please include a description of the issues that you are running into.
Updated 7 months ago