import timeimport osimport moonsdkfrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | body =None# object | try: api_response =await api_instance.create_payment_intent_config(authorization, body)print("The response of PaymentApi->create_payment_intent_config:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->create_payment_intent_config: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | id='id_example'# str | try: api_response =await api_instance.delete_payment_intent_config(authorization, id)print("The response of PaymentApi->delete_payment_intent_config:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->delete_payment_intent_config: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | try: api_response =await api_instance.get_all_payment_intent_configs(authorization)print("The response of PaymentApi->get_all_payment_intent_configs:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->get_all_payment_intent_configs: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | id='id_example'# str | try: api_response =await api_instance.get_one_payment_intent_configs(authorization, id)print("The response of PaymentApi->get_one_payment_intent_configs:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->get_one_payment_intent_configs: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.i_webhook import IWebhookfrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client)id='id_example'# str | i_webhook = moonsdk.IWebhook()# IWebhook | try: api_response =await api_instance.moralis_webhook(id, i_webhook)print("The response of PaymentApi->moralis_webhook:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->moralis_webhook: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.create_payment_intent_input import CreatePaymentIntentInputfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | create_payment_intent_input = moonsdk.CreatePaymentIntentInput()# CreatePaymentIntentInput | try: api_response =await api_instance.payment_create_payment_intent(authorization, create_payment_intent_input)print("The response of PaymentApi->payment_create_payment_intent:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->payment_create_payment_intent: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | id='id_example'# str | try: api_response =await api_instance.payment_delete_payment_intent(authorization, id)print("The response of PaymentApi->payment_delete_payment_intent:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->payment_delete_payment_intent: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | try: api_response =await api_instance.payment_get_all_payment_intents(authorization)print("The response of PaymentApi->payment_get_all_payment_intents:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->payment_get_all_payment_intents: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client)try: api_response =await api_instance.payment_get_available_chains()print("The response of PaymentApi->payment_get_available_chains:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->payment_get_available_chains: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | id='id_example'# str | try: api_response =await api_instance.payment_get_payment_intent(authorization, id)print("The response of PaymentApi->payment_get_payment_intent:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->payment_get_payment_intent: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.create_payment_intent_input import CreatePaymentIntentInputfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | id='id_example'# str | create_payment_intent_input = moonsdk.CreatePaymentIntentInput()# CreatePaymentIntentInput | try: api_response =await api_instance.payment_update_payment_intent(authorization, id, create_payment_intent_input)print("The response of PaymentApi->payment_update_payment_intent:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->payment_update_payment_intent: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.tatum_transaction_event import TatumTransactionEventfrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client)id='id_example'# str | tatum_transaction_event = moonsdk.TatumTransactionEvent()# TatumTransactionEvent | try: api_response =await api_instance.tatum_webhook(id, tatum_transaction_event)print("The response of PaymentApi->tatum_webhook:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->tatum_webhook: %s\n"% e)
import timeimport osimport moonsdkfrom moonsdk.models.payment_intent_response import PaymentIntentResponsefrom moonsdk.rest import ApiExceptionfrom pprint import pprint# Defining the host is optional and defaults to https://vault-api.usemoon.ai# See configuration.py for a list of all supported configuration parameters.configuration = moonsdk.Configuration( host ="https://vault-api.usemoon.ai")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: ApiKeyAuthconfiguration.api_key['ApiKeyAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'# Configure API key authorization: BearerAuthconfiguration.api_key['BearerAuth']= os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['BearerAuth'] = 'Bearer'# Enter a context with an instance of the API clientasyncwith moonsdk.ApiClient(configuration)as api_client:# Create an instance of the API class api_instance = moonsdk.PaymentApi(api_client) authorization ='authorization_example'# str | id='id_example'# str | body =None# object | try: api_response =await api_instance.update_payment_intent_config(authorization, id, body)print("The response of PaymentApi->update_payment_intent_config:\n")pprint(api_response)exceptExceptionas e:print("Exception when calling PaymentApi->update_payment_intent_config: %s\n"% e)