import time
import os
import moonsdk
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->create_payment_intent_config: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->delete_payment_intent_config: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->get_all_payment_intent_configs: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->get_one_payment_intent_configs: %s\n" % e)
Parameters
Name
Type
Description
Notes
authorization
str
id
str
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
HTTP response details
Status code
Description
Response headers
200
Ok
-
moralis_webhook
object moralis_webhook(id, i_webhook)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
import time
import os
import moonsdk
from moonsdk.models.i_webhook import IWebhook
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->moralis_webhook: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.create_payment_intent_input import CreatePaymentIntentInput
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->payment_create_payment_intent: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->payment_delete_payment_intent: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->payment_get_all_payment_intents: %s\n" % e)
Parameters
Name
Type
Description
Notes
authorization
str
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
HTTP response details
Status code
Description
Response headers
200
Ok
-
payment_get_available_chains
List[str] payment_get_available_chains()
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
import time
import os
import moonsdk
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->payment_get_available_chains: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->payment_get_payment_intent: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.create_payment_intent_input import CreatePaymentIntentInput
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->payment_update_payment_intent: %s\n" % e)
Parameters
Name
Type
Description
Notes
authorization
str
id
str
create_payment_intent_input
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
HTTP response details
Status code
Description
Response headers
200
Ok
-
tatum_webhook
object tatum_webhook(id, tatum_transaction_event)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
import time
import os
import moonsdk
from moonsdk.models.tatum_transaction_event import TatumTransactionEvent
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->tatum_webhook: %s\n" % e)
import time
import os
import moonsdk
from moonsdk.models.payment_intent_response import PaymentIntentResponse
from moonsdk.rest import ApiException
from 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: ApiKeyAuth
configuration.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: BearerAuth
configuration.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 client
async with 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)
except Exception as e:
print("Exception when calling PaymentApi->update_payment_intent_config: %s\n" % e)