PaymentTransactionApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deletePaymentTransaction | DELETE PaymentTransactionApi | Delete a PaymentTransaction. |
deletePaymentTransaction
Void
deletePaymentTransaction(id)
Delete a PaymentTransaction.
Deletes a specific PaymentTransaction.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PaymentTransactionApi;
PaymentTransactionApi apiInstance = new PaymentTransactionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the PaymentTransaction.
try {
Void result = apiInstance.deletePaymentTransaction(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PaymentTransactionApi#deletePaymentTransaction");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the PaymentTransaction. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
getPaymentTransaction
PaymentTransaction
getPaymentTransaction(id)
Retrieve a single PaymentTransaction
Retrieves a single PaymentTransaction for a specific uid.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PaymentTransactionApi;
PaymentTransactionApi apiInstance = new PaymentTransactionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the PaymentTransaction.
try {
PaymentTransaction result = apiInstance.getPaymentTransaction(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PaymentTransactionApi#getPaymentTransaction");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the PaymentTransaction. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
getPaymentTransactionList
PaymentTransaction
getPaymentTransactionList(pagesizesort)
Retrieve a list of PaymentTransactions
Retrieves a list of PaymentTransactions.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PaymentTransactionApi;
PaymentTransactionApi apiInstance = new PaymentTransactionApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |
try {
PaymentTransaction result = apiInstance.getPaymentTransactionList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PaymentTransactionApi#getPaymentTransactionList");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | [optional] [default to 0] | |
size | Integer | [optional] [default to 20] | |
sort | List<String> | [optional] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postPaymentTransaction
PaymentTransaction
postPaymentTransaction(paymentTransaction)
Create a new PaymentTransaction
Creates a new PaymentTransaction.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PaymentTransactionApi;
PaymentTransactionApi apiInstance = new PaymentTransactionApi();
PaymentTransaction paymentTransaction = new PaymentTransaction(); // PaymentTransaction | PaymentTransaction details.
try {
PaymentTransaction result = apiInstance.postPaymentTransaction(paymentTransaction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PaymentTransactionApi#postPaymentTransaction");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
paymentTransaction | PaymentTransaction | PaymentTransaction details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
updatePaymentTransaction
PaymentTransaction
updatePaymentTransaction(idpaymentTransaction)
Update an existing PaymentTransaction
Updates an existing PaymentTransaction.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.PaymentTransactionApi;
PaymentTransactionApi apiInstance = new PaymentTransactionApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the PaymentTransaction.
PaymentTransaction paymentTransaction = new PaymentTransaction(); // PaymentTransaction | Updated PaymentTransaction details.
try {
PaymentTransaction result = apiInstance.updatePaymentTransaction(idpaymentTransaction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PaymentTransactionApi#updatePaymentTransaction");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the PaymentTransaction. | |
paymentTransaction | PaymentTransaction | Updated PaymentTransaction details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
~ | value |
---|---|
GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.1-SNAPSHOT |
API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
GENERATED DATE | 2025-09-03T16:35:42.569765-07:00[America/Los_Angeles] |