All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| generate_android_keystore | POST /v2/wallet/android/keystore | Generate Android TWA signing keystore |
| save_merchant_credit_payment_design | PUT /v2/wallet/merchantCredit/paymentDesign | Update payment design for merchant credits |
| save_wallet_record | PUT /v2/wallet | Update wallet record |
WTAndroidKeystoreResponse generate_android_keystore(regenerate=regenerate)
Generate Android TWA signing keystore
import wallet
from wallet.models.wt_android_keystore_response import WTAndroidKeystoreResponse
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.WalletConfigurationApi(api_client)
regenerate = True # bool | (optional)
try:
# Generate Android TWA signing keystore
api_response = api_instance.generate_android_keystore(regenerate=regenerate)
print("The response of WalletConfigurationApi->generate_android_keystore:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling WalletConfigurationApi->generate_android_keystore: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| regenerate | bool | [optional] |
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 save_merchant_credit_payment_design(save_merchant_credit_payment_design_request)
Update payment design for merchant credits
import wallet
from wallet.models.save_merchant_credit_payment_design_request import SaveMerchantCreditPaymentDesignRequest
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.WalletConfigurationApi(api_client)
save_merchant_credit_payment_design_request = wallet.SaveMerchantCreditPaymentDesignRequest() # SaveMerchantCreditPaymentDesignRequest |
try:
# Update payment design for merchant credits
api_response = api_instance.save_merchant_credit_payment_design(save_merchant_credit_payment_design_request)
print("The response of WalletConfigurationApi->save_merchant_credit_payment_design:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling WalletConfigurationApi->save_merchant_credit_payment_design: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| save_merchant_credit_payment_design_request | SaveMerchantCreditPaymentDesignRequest |
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 save_wallet_record(wt_wallet_configuration_save_wallet_record)
Update wallet record
import wallet
from wallet.models.wt_wallet_configuration_save_wallet_record import WTWalletConfigurationSaveWalletRecord
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.WalletConfigurationApi(api_client)
wt_wallet_configuration_save_wallet_record = wallet.WTWalletConfigurationSaveWalletRecord() # WTWalletConfigurationSaveWalletRecord |
try:
# Update wallet record
api_response = api_instance.save_wallet_record(wt_wallet_configuration_save_wallet_record)
print("The response of WalletConfigurationApi->save_wallet_record:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling WalletConfigurationApi->save_wallet_record: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| wt_wallet_configuration_save_wallet_record | WTWalletConfigurationSaveWalletRecord |
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]