Skip to content

Latest commit

 

History

History
218 lines (145 loc) · 6.92 KB

File metadata and controls

218 lines (145 loc) · 6.92 KB

wallet.WalletConfigurationApi

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

generate_android_keystore

WTAndroidKeystoreResponse generate_android_keystore(regenerate=regenerate)

Generate Android TWA signing keystore

Example

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)

Parameters

Name Type Description Notes
regenerate bool [optional]

Return type

WTAndroidKeystoreResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

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]

save_merchant_credit_payment_design

object save_merchant_credit_payment_design(save_merchant_credit_payment_design_request)

Update payment design for merchant credits

Example

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)

Parameters

Name Type Description Notes
save_merchant_credit_payment_design_request SaveMerchantCreditPaymentDesignRequest

Return type

object

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

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]

save_wallet_record

object save_wallet_record(wt_wallet_configuration_save_wallet_record)

Update wallet record

Example

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)

Parameters

Name Type Description Notes
wt_wallet_configuration_save_wallet_record WTWalletConfigurationSaveWalletRecord

Return type

object

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

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]