PaymentApi
com.usemoon.MoonSDK.Api.PaymentApi
Method
HTTP request
Description
MoralisWebhook
Example
using System.Collections.Generic;
using System.Diagnostics;
using com.usemoon.MoonSDK.Api;
using com.usemoon.MoonSDK.Client;
using com.usemoon.MoonSDK.Model;
namespace Example
{
public class MoralisWebhookExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://vault-api.usemoon.ai";
// Configure API key authorization: ApiKeyAuth
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure API key authorization: BearerAuth
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new PaymentApi(config);
var id = "id_example"; // string |
var iWebhook = new IWebhook(); // IWebhook |
try
{
Object result = apiInstance.MoralisWebhook(id, iWebhook);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling PaymentApi.MoralisWebhook: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
HTTP response details
Status code
Description
Response headers
PaymentCreatePaymentIntent
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
HTTP response details
Status code
Description
Response headers
PaymentDeletePaymentIntent
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
HTTP response details
Status code
Description
Response headers
PaymentGetAllPaymentIntents
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
HTTP response details
Status code
Description
Response headers
PaymentGetAvailableChains
Example
Parameters
Return type
Authorization
HTTP request headers
HTTP response details
Status code
Description
Response headers
PaymentGetPaymentIntent
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
HTTP response details
Status code
Description
Response headers
PaymentUpdatePaymentIntent
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
HTTP response details
Status code
Description
Response headers
TatumWebhook
Example
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
HTTP response details
Status code
Description
Response headers