All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| fetch_wallet_item_from_web_terminal | GET /v2/pos/web/item/{itemID} | Fetch item |
| redeem_wallet_item_from_web_terminal | POST /v2/pos/web/item/redeem/{itemID} | Redeem item |
| refund_wallet_item_from_web_terminal | POST /v2/pos/web/item/refund/{ledgerEntryID} | Refund transaction |
object fetch_wallet_item_from_web_terminal(item_id)
Fetch item
import wallet
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.WebTerminalApi(api_client)
item_id = 'item_id_example' # str |
try:
# Fetch item
api_response = api_instance.fetch_wallet_item_from_web_terminal(item_id)
print("The response of WebTerminalApi->fetch_wallet_item_from_web_terminal:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling WebTerminalApi->fetch_wallet_item_from_web_terminal: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| item_id | str |
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object redeem_wallet_item_from_web_terminal(item_id, wt_wallet_item_redemption)
Redeem item
import wallet
from wallet.models.wt_wallet_item_redemption import WTWalletItemRedemption
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.WebTerminalApi(api_client)
item_id = 'item_id_example' # str |
wt_wallet_item_redemption = wallet.WTWalletItemRedemption() # WTWalletItemRedemption |
try:
# Redeem item
api_response = api_instance.redeem_wallet_item_from_web_terminal(item_id, wt_wallet_item_redemption)
print("The response of WebTerminalApi->redeem_wallet_item_from_web_terminal:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling WebTerminalApi->redeem_wallet_item_from_web_terminal: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| item_id | str | ||
| wt_wallet_item_redemption | WTWalletItemRedemption |
object
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object refund_wallet_item_from_web_terminal(ledger_entry_id)
Refund transaction
import wallet
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.WebTerminalApi(api_client)
ledger_entry_id = 'ledger_entry_id_example' # str |
try:
# Refund transaction
api_response = api_instance.refund_wallet_item_from_web_terminal(ledger_entry_id)
print("The response of WebTerminalApi->refund_wallet_item_from_web_terminal:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling WebTerminalApi->refund_wallet_item_from_web_terminal: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| ledger_entry_id | str |
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]