userDepositsGet
/user/deposits
Usage and SDK Samples
curl -X GET "https://virtserver.swaggerhub.com/yarilabs/publicmint/1.0.0/user/deposits?id=&amount=¤cy=&status=&fundsTransferDetails=&fundsTransferType=&message=&reference=&referenceNumber=&transactionNumber=&createdAt=&updatedAt=&select=&order=&offset=&limit="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DepositsApi;
import java.io.File;
import java.util.*;
public class DepositsApiExample {
public static void main(String[] args) {
DepositsApi apiInstance = new DepositsApi();
UUID id = ; // UUID |
String amount = amount_example; // String |
String currency = currency_example; // String |
String status = status_example; // String |
String fundsTransferDetails = fundsTransferDetails_example; // String |
String fundsTransferType = fundsTransferType_example; // String |
String message = message_example; // String |
String reference = reference_example; // String |
String referenceNumber = referenceNumber_example; // String |
String transactionNumber = transactionNumber_example; // String |
date createdAt = 2013-10-20; // date |
date updatedAt = 2013-10-20; // date |
String select = select_example; // String | Filtering Columns
String order = order_example; // String | Ordering
String range = range_example; // String | Limiting and Pagination
String rangeUnit = rangeUnit_example; // String | Limiting and Pagination
String offset = offset_example; // String | Limiting and Pagination
String limit = limit_example; // String | Limiting and Pagination
String prefer = prefer_example; // String | Preference
try {
array[deposit] result = apiInstance.userDepositsGet(id, amount, currency, status, fundsTransferDetails, fundsTransferType, message, reference, referenceNumber, transactionNumber, createdAt, updatedAt, select, order, range, rangeUnit, offset, limit, prefer);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DepositsApi#userDepositsGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.DepositsApi;
public class DepositsApiExample {
public static void main(String[] args) {
DepositsApi apiInstance = new DepositsApi();
UUID id = ; // UUID |
String amount = amount_example; // String |
String currency = currency_example; // String |
String status = status_example; // String |
String fundsTransferDetails = fundsTransferDetails_example; // String |
String fundsTransferType = fundsTransferType_example; // String |
String message = message_example; // String |
String reference = reference_example; // String |
String referenceNumber = referenceNumber_example; // String |
String transactionNumber = transactionNumber_example; // String |
date createdAt = 2013-10-20; // date |
date updatedAt = 2013-10-20; // date |
String select = select_example; // String | Filtering Columns
String order = order_example; // String | Ordering
String range = range_example; // String | Limiting and Pagination
String rangeUnit = rangeUnit_example; // String | Limiting and Pagination
String offset = offset_example; // String | Limiting and Pagination
String limit = limit_example; // String | Limiting and Pagination
String prefer = prefer_example; // String | Preference
try {
array[deposit] result = apiInstance.userDepositsGet(id, amount, currency, status, fundsTransferDetails, fundsTransferType, message, reference, referenceNumber, transactionNumber, createdAt, updatedAt, select, order, range, rangeUnit, offset, limit, prefer);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DepositsApi#userDepositsGet");
e.printStackTrace();
}
}
}
UUID *id = ; // (optional)
String *amount = amount_example; // (optional)
String *currency = currency_example; // (optional)
String *status = status_example; // (optional)
String *fundsTransferDetails = fundsTransferDetails_example; // (optional)
String *fundsTransferType = fundsTransferType_example; // (optional)
String *message = message_example; // (optional)
String *reference = reference_example; // (optional)
String *referenceNumber = referenceNumber_example; // (optional)
String *transactionNumber = transactionNumber_example; // (optional)
date *createdAt = 2013-10-20; // (optional)
date *updatedAt = 2013-10-20; // (optional)
String *select = select_example; // Filtering Columns (optional)
String *order = order_example; // Ordering (optional)
String *range = range_example; // Limiting and Pagination (optional)
String *rangeUnit = rangeUnit_example; // Limiting and Pagination (optional) (default to items)
String *offset = offset_example; // Limiting and Pagination (optional)
String *limit = limit_example; // Limiting and Pagination (optional)
String *prefer = prefer_example; // Preference (optional)
DepositsApi *apiInstance = [[DepositsApi alloc] init];
[apiInstance userDepositsGetWith:id
amount:amount
currency:currency
status:status
fundsTransferDetails:fundsTransferDetails
fundsTransferType:fundsTransferType
message:message
reference:reference
referenceNumber:referenceNumber
transactionNumber:transactionNumber
createdAt:createdAt
updatedAt:updatedAt
select:select
order:order
range:range
rangeUnit:rangeUnit
offset:offset
limit:limit
prefer:prefer
completionHandler: ^(array[deposit] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var PublicMintCustodialApi = require('public_mint_custodial_api');
var api = new PublicMintCustodialApi.DepositsApi()
var opts = {
'id': , // {UUID}
'amount': amount_example, // {String}
'currency': currency_example, // {String}
'status': status_example, // {String}
'fundsTransferDetails': fundsTransferDetails_example, // {String}
'fundsTransferType': fundsTransferType_example, // {String}
'message': message_example, // {String}
'reference': reference_example, // {String}
'referenceNumber': referenceNumber_example, // {String}
'transactionNumber': transactionNumber_example, // {String}
'createdAt': 2013-10-20, // {date}
'updatedAt': 2013-10-20, // {date}
'select': select_example, // {String} Filtering Columns
'order': order_example, // {String} Ordering
'range': range_example, // {String} Limiting and Pagination
'rangeUnit': rangeUnit_example, // {String} Limiting and Pagination
'offset': offset_example, // {String} Limiting and Pagination
'limit': limit_example, // {String} Limiting and Pagination
'prefer': prefer_example // {String} Preference
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.userDepositsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class userDepositsGetExample
{
public void main()
{
var apiInstance = new DepositsApi();
var id = new UUID(); // UUID | (optional)
var amount = amount_example; // String | (optional)
var currency = currency_example; // String | (optional)
var status = status_example; // String | (optional)
var fundsTransferDetails = fundsTransferDetails_example; // String | (optional)
var fundsTransferType = fundsTransferType_example; // String | (optional)
var message = message_example; // String | (optional)
var reference = reference_example; // String | (optional)
var referenceNumber = referenceNumber_example; // String | (optional)
var transactionNumber = transactionNumber_example; // String | (optional)
var createdAt = 2013-10-20; // date | (optional)
var updatedAt = 2013-10-20; // date | (optional)
var select = select_example; // String | Filtering Columns (optional)
var order = order_example; // String | Ordering (optional)
var range = range_example; // String | Limiting and Pagination (optional)
var rangeUnit = rangeUnit_example; // String | Limiting and Pagination (optional) (default to items)
var offset = offset_example; // String | Limiting and Pagination (optional)
var limit = limit_example; // String | Limiting and Pagination (optional)
var prefer = prefer_example; // String | Preference (optional)
try
{
array[deposit] result = apiInstance.userDepositsGet(id, amount, currency, status, fundsTransferDetails, fundsTransferType, message, reference, referenceNumber, transactionNumber, createdAt, updatedAt, select, order, range, rangeUnit, offset, limit, prefer);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DepositsApi.userDepositsGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DepositsApi();
$id = ; // UUID |
$amount = amount_example; // String |
$currency = currency_example; // String |
$status = status_example; // String |
$fundsTransferDetails = fundsTransferDetails_example; // String |
$fundsTransferType = fundsTransferType_example; // String |
$message = message_example; // String |
$reference = reference_example; // String |
$referenceNumber = referenceNumber_example; // String |
$transactionNumber = transactionNumber_example; // String |
$createdAt = 2013-10-20; // date |
$updatedAt = 2013-10-20; // date |
$select = select_example; // String | Filtering Columns
$order = order_example; // String | Ordering
$range = range_example; // String | Limiting and Pagination
$rangeUnit = rangeUnit_example; // String | Limiting and Pagination
$offset = offset_example; // String | Limiting and Pagination
$limit = limit_example; // String | Limiting and Pagination
$prefer = prefer_example; // String | Preference
try {
$result = $api_instance->userDepositsGet($id, $amount, $currency, $status, $fundsTransferDetails, $fundsTransferType, $message, $reference, $referenceNumber, $transactionNumber, $createdAt, $updatedAt, $select, $order, $range, $rangeUnit, $offset, $limit, $prefer);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DepositsApi->userDepositsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DepositsApi;
my $api_instance = WWW::SwaggerClient::DepositsApi->new();
my $id = ; # UUID |
my $amount = amount_example; # String |
my $currency = currency_example; # String |
my $status = status_example; # String |
my $fundsTransferDetails = fundsTransferDetails_example; # String |
my $fundsTransferType = fundsTransferType_example; # String |
my $message = message_example; # String |
my $reference = reference_example; # String |
my $referenceNumber = referenceNumber_example; # String |
my $transactionNumber = transactionNumber_example; # String |
my $createdAt = 2013-10-20; # date |
my $updatedAt = 2013-10-20; # date |
my $select = select_example; # String | Filtering Columns
my $order = order_example; # String | Ordering
my $range = range_example; # String | Limiting and Pagination
my $rangeUnit = rangeUnit_example; # String | Limiting and Pagination
my $offset = offset_example; # String | Limiting and Pagination
my $limit = limit_example; # String | Limiting and Pagination
my $prefer = prefer_example; # String | Preference
eval {
my $result = $api_instance->userDepositsGet(id => $id, amount => $amount, currency => $currency, status => $status, fundsTransferDetails => $fundsTransferDetails, fundsTransferType => $fundsTransferType, message => $message, reference => $reference, referenceNumber => $referenceNumber, transactionNumber => $transactionNumber, createdAt => $createdAt, updatedAt => $updatedAt, select => $select, order => $order, range => $range, rangeUnit => $rangeUnit, offset => $offset, limit => $limit, prefer => $prefer);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DepositsApi->userDepositsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.DepositsApi()
id = # UUID | (optional)
amount = amount_example # String | (optional)
currency = currency_example # String | (optional)
status = status_example # String | (optional)
fundsTransferDetails = fundsTransferDetails_example # String | (optional)
fundsTransferType = fundsTransferType_example # String | (optional)
message = message_example # String | (optional)
reference = reference_example # String | (optional)
referenceNumber = referenceNumber_example # String | (optional)
transactionNumber = transactionNumber_example # String | (optional)
createdAt = 2013-10-20 # date | (optional)
updatedAt = 2013-10-20 # date | (optional)
select = select_example # String | Filtering Columns (optional)
order = order_example # String | Ordering (optional)
range = range_example # String | Limiting and Pagination (optional)
rangeUnit = rangeUnit_example # String | Limiting and Pagination (optional) (default to items)
offset = offset_example # String | Limiting and Pagination (optional)
limit = limit_example # String | Limiting and Pagination (optional)
prefer = prefer_example # String | Preference (optional)
try:
api_response = api_instance.user_deposits_get(id=id, amount=amount, currency=currency, status=status, fundsTransferDetails=fundsTransferDetails, fundsTransferType=fundsTransferType, message=message, reference=reference, referenceNumber=referenceNumber, transactionNumber=transactionNumber, createdAt=createdAt, updatedAt=updatedAt, select=select, order=order, range=range, rangeUnit=rangeUnit, offset=offset, limit=limit, prefer=prefer)
pprint(api_response)
except ApiException as e:
print("Exception when calling DepositsApi->userDepositsGet: %s\n" % e)
Parameters
Header parameters
Name | Description |
---|---|
Range |
String
Limiting and Pagination
|
Range-Unit |
String
Limiting and Pagination
|
Prefer |
String
Preference
|
Query parameters
Name | Description |
---|---|
id |
UUID
(uuid)
|
amount |
String
(double precision)
|
currency |
String
(data.currency)
|
status |
String
(character varying)
|
fundsTransferDetails |
String
(character varying)
|
fundsTransferType |
String
(data.funds_transfer_type)
|
message |
String
(character varying)
|
reference |
String
(character varying)
|
referenceNumber |
String
(character varying)
|
transactionNumber |
String
(character varying)
|
createdAt |
date
(date)
|
updatedAt |
date
(date)
|
select |
String
Filtering Columns
|
order |
String
Ordering
|
offset |
String
Limiting and Pagination
|
limit |
String
Limiting and Pagination
|