// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | Object body =null; // Object | try {Object result =apiInstance.createPaymentIntentConfig(authorization, body);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#createPaymentIntentConfig");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | String id ="id_example"; // String | try {PaymentIntentResponse result =apiInstance.deletePaymentIntentConfig(authorization, id);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#deletePaymentIntentConfig");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | try {List<PaymentIntentResponse> result =apiInstance.getAllPaymentIntentConfigs(authorization);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#getAllPaymentIntentConfigs");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | String id ="id_example"; // String | try {PaymentIntentResponse result =apiInstance.getOnePaymentIntentConfigs(authorization, id);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#getOnePaymentIntentConfigs");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String id ="id_example"; // String | IWebhook iwebhook =newIWebhook(); // IWebhook | try {Object result =apiInstance.moralisWebhook(id, iwebhook);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#moralisWebhook");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | CreatePaymentIntentInput createPaymentIntentInput =newCreatePaymentIntentInput(); // CreatePaymentIntentInput | try {PaymentIntentResponse result =apiInstance.paymentCreatePaymentIntent(authorization, createPaymentIntentInput);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#paymentCreatePaymentIntent");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | String id ="id_example"; // String | try {PaymentIntentResponse result =apiInstance.paymentDeletePaymentIntent(authorization, id);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#paymentDeletePaymentIntent");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | try {List<PaymentIntentResponse> result =apiInstance.paymentGetAllPaymentIntents(authorization);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#paymentGetAllPaymentIntents");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);try {List<String> result =apiInstance.paymentGetAvailableChains();System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#paymentGetAvailableChains");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | String id ="id_example"; // String | try {PaymentIntentResponse result =apiInstance.paymentGetPaymentIntent(authorization, id);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#paymentGetPaymentIntent");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | String id ="id_example"; // String | CreatePaymentIntentInput createPaymentIntentInput =newCreatePaymentIntentInput(); // CreatePaymentIntentInput | try {PaymentIntentResponse result =apiInstance.paymentUpdatePaymentIntent(authorization, id, createPaymentIntentInput);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#paymentUpdatePaymentIntent");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String id ="id_example"; // String | TatumTransactionEvent tatumTransactionEvent =newTatumTransactionEvent(); // TatumTransactionEvent | try {Object result =apiInstance.tatumWebhook(id, tatumTransactionEvent);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#tatumWebhook");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;importorg.usemoonai.moonsdk.client.ApiException;importorg.usemoonai.moonsdk.client.Configuration;importorg.usemoonai.moonsdk.client.auth.*;importorg.usemoonai.moonsdk.client.models.*;importorg.usemoonai.moonsdk.api.PaymentApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://vault-api.usemoon.ai");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");ApiKeyAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuth BearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");BearerAuth.setApiKey("YOUR API KEY");// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");PaymentApi apiInstance =newPaymentApi(defaultClient);String authorization ="authorization_example"; // String | String id ="id_example"; // String | Object body =null; // Object | try {PaymentIntentResponse result =apiInstance.updatePaymentIntentConfig(authorization, id, body);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling PaymentApi#updatePaymentIntentConfig");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}