Spenda.Services.Statements

MerchantPortal

merchantPortalKeyPerformanceIndicators

Get Merchant's Key Performance Indicators

Get Merchant's Key Performance Indicators


/Spenda/Statements/MerchantPortal/KeyPerformanceIndicators

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Statements/MerchantPortal/KeyPerformanceIndicators"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MerchantPortalApi;

import java.io.File;
import java.util.*;

public class MerchantPortalApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        MerchantPortalApi apiInstance = new MerchantPortalApi();

        try {
            merchantPortalKPIs result = apiInstance.merchantPortalKeyPerformanceIndicators();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MerchantPortalApi#merchantPortalKeyPerformanceIndicators");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.merchantPortalKeyPerformanceIndicators();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->merchantPortalKeyPerformanceIndicators: $e\n');
}

import org.openapitools.client.api.MerchantPortalApi;

public class MerchantPortalApiExample {
    public static void main(String[] args) {
        MerchantPortalApi apiInstance = new MerchantPortalApi();

        try {
            merchantPortalKPIs result = apiInstance.merchantPortalKeyPerformanceIndicators();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MerchantPortalApi#merchantPortalKeyPerformanceIndicators");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
MerchantPortalApi *apiInstance = [[MerchantPortalApi alloc] init];

// Get Merchant's Key Performance Indicators
[apiInstance merchantPortalKeyPerformanceIndicatorsWithCompletionHandler: 
              ^(merchantPortalKPIs output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesStatements = require('spenda_services_statements');

// Create an instance of the API class
var api = new SpendaServicesStatements.MerchantPortalApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.merchantPortalKeyPerformanceIndicators(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class merchantPortalKeyPerformanceIndicatorsExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new MerchantPortalApi();

            try {
                // Get Merchant's Key Performance Indicators
                merchantPortalKPIs result = apiInstance.merchantPortalKeyPerformanceIndicators();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MerchantPortalApi.merchantPortalKeyPerformanceIndicators: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MerchantPortalApi();

try {
    $result = $api_instance->merchantPortalKeyPerformanceIndicators();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MerchantPortalApi->merchantPortalKeyPerformanceIndicators: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MerchantPortalApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MerchantPortalApi->new();

eval {
    my $result = $api_instance->merchantPortalKeyPerformanceIndicators();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MerchantPortalApi->merchantPortalKeyPerformanceIndicators: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.MerchantPortalApi()

try:
    # Get Merchant's Key Performance Indicators
    api_response = api_instance.merchant_portal_key_performance_indicators()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MerchantPortalApi->merchantPortalKeyPerformanceIndicators: %s\n" % e)
extern crate MerchantPortalApi;

pub fn main() {

    let mut context = MerchantPortalApi::Context::default();
    let result = client.merchantPortalKeyPerformanceIndicators(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


merchantPortalSettlement

Get Merchant's Settlements

Get Merchant's Settlements


/Spenda/Statements/MerchantPortal/Settlements

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Statements/MerchantPortal/Settlements?year=56&month=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MerchantPortalApi;

import java.io.File;
import java.util.*;

public class MerchantPortalApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        MerchantPortalApi apiInstance = new MerchantPortalApi();
        Integer year = 56; // Integer | Specify the year (default: current year)
        Integer month = 56; // Integer | Specify the month (default: current month)

        try {
            merchantPortalKPIs result = apiInstance.merchantPortalSettlement(year, month);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MerchantPortalApi#merchantPortalSettlement");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer year = new Integer(); // Integer | Specify the year (default: current year)
final Integer month = new Integer(); // Integer | Specify the month (default: current month)

try {
    final result = await api_instance.merchantPortalSettlement(year, month);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->merchantPortalSettlement: $e\n');
}

import org.openapitools.client.api.MerchantPortalApi;

public class MerchantPortalApiExample {
    public static void main(String[] args) {
        MerchantPortalApi apiInstance = new MerchantPortalApi();
        Integer year = 56; // Integer | Specify the year (default: current year)
        Integer month = 56; // Integer | Specify the month (default: current month)

        try {
            merchantPortalKPIs result = apiInstance.merchantPortalSettlement(year, month);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MerchantPortalApi#merchantPortalSettlement");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
MerchantPortalApi *apiInstance = [[MerchantPortalApi alloc] init];
Integer *year = 56; // Specify the year (default: current year) (optional) (default to null)
Integer *month = 56; // Specify the month (default: current month) (optional) (default to null)

// Get Merchant's Settlements
[apiInstance merchantPortalSettlementWith:year
    month:month
              completionHandler: ^(merchantPortalKPIs output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesStatements = require('spenda_services_statements');

// Create an instance of the API class
var api = new SpendaServicesStatements.MerchantPortalApi()
var opts = {
  'year': 56, // {Integer} Specify the year (default: current year)
  'month': 56 // {Integer} Specify the month (default: current month)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.merchantPortalSettlement(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class merchantPortalSettlementExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new MerchantPortalApi();
            var year = 56;  // Integer | Specify the year (default: current year) (optional)  (default to null)
            var month = 56;  // Integer | Specify the month (default: current month) (optional)  (default to null)

            try {
                // Get Merchant's Settlements
                merchantPortalKPIs result = apiInstance.merchantPortalSettlement(year, month);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling MerchantPortalApi.merchantPortalSettlement: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MerchantPortalApi();
$year = 56; // Integer | Specify the year (default: current year)
$month = 56; // Integer | Specify the month (default: current month)

try {
    $result = $api_instance->merchantPortalSettlement($year, $month);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MerchantPortalApi->merchantPortalSettlement: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MerchantPortalApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MerchantPortalApi->new();
my $year = 56; # Integer | Specify the year (default: current year)
my $month = 56; # Integer | Specify the month (default: current month)

eval {
    my $result = $api_instance->merchantPortalSettlement(year => $year, month => $month);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MerchantPortalApi->merchantPortalSettlement: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.MerchantPortalApi()
year = 56 # Integer | Specify the year (default: current year) (optional) (default to null)
month = 56 # Integer | Specify the month (default: current month) (optional) (default to null)

try:
    # Get Merchant's Settlements
    api_response = api_instance.merchant_portal_settlement(year=year, month=month)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MerchantPortalApi->merchantPortalSettlement: %s\n" % e)
extern crate MerchantPortalApi;

pub fn main() {
    let year = 56; // Integer
    let month = 56; // Integer

    let mut context = MerchantPortalApi::Context::default();
    let result = client.merchantPortalSettlement(year, month, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
year
Integer (int32)
Specify the year (default: current year)
month
Integer (int32)
Specify the month (default: current month)

Responses


Notification

statementNotificationManualTrigger

Trigger statement notification manually.

Trigger statement notification manually.


/Spenda/Statements/StatementNotificationManualTrigger

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Statements/StatementNotificationManualTrigger"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.NotificationApi;

import java.io.File;
import java.util.*;

public class NotificationApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        NotificationApi apiInstance = new NotificationApi();

        try {
            apiInstance.statementNotificationManualTrigger();
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationApi#statementNotificationManualTrigger");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.statementNotificationManualTrigger();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->statementNotificationManualTrigger: $e\n');
}

import org.openapitools.client.api.NotificationApi;

public class NotificationApiExample {
    public static void main(String[] args) {
        NotificationApi apiInstance = new NotificationApi();

        try {
            apiInstance.statementNotificationManualTrigger();
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationApi#statementNotificationManualTrigger");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
NotificationApi *apiInstance = [[NotificationApi alloc] init];

// Trigger statement notification manually.
[apiInstance statementNotificationManualTriggerWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesStatements = require('spenda_services_statements');

// Create an instance of the API class
var api = new SpendaServicesStatements.NotificationApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.statementNotificationManualTrigger(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class statementNotificationManualTriggerExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new NotificationApi();

            try {
                // Trigger statement notification manually.
                apiInstance.statementNotificationManualTrigger();
            } catch (Exception e) {
                Debug.Print("Exception when calling NotificationApi.statementNotificationManualTrigger: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\NotificationApi();

try {
    $api_instance->statementNotificationManualTrigger();
} catch (Exception $e) {
    echo 'Exception when calling NotificationApi->statementNotificationManualTrigger: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::NotificationApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::NotificationApi->new();

eval {
    $api_instance->statementNotificationManualTrigger();
};
if ($@) {
    warn "Exception when calling NotificationApi->statementNotificationManualTrigger: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.NotificationApi()

try:
    # Trigger statement notification manually.
    api_instance.statement_notification_manual_trigger()
except ApiException as e:
    print("Exception when calling NotificationApi->statementNotificationManualTrigger: %s\n" % e)
extern crate NotificationApi;

pub fn main() {

    let mut context = NotificationApi::Context::default();
    let result = client.statementNotificationManualTrigger(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


Statement

statementNotificationManualTrigger

Trigger statement notification manually.

Trigger statement notification manually.


/Spenda/Statements/StatementNotificationManualTrigger

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Statements/StatementNotificationManualTrigger"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.StatementApi;

import java.io.File;
import java.util.*;

public class StatementApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        StatementApi apiInstance = new StatementApi();

        try {
            apiInstance.statementNotificationManualTrigger();
        } catch (ApiException e) {
            System.err.println("Exception when calling StatementApi#statementNotificationManualTrigger");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.statementNotificationManualTrigger();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->statementNotificationManualTrigger: $e\n');
}

import org.openapitools.client.api.StatementApi;

public class StatementApiExample {
    public static void main(String[] args) {
        StatementApi apiInstance = new StatementApi();

        try {
            apiInstance.statementNotificationManualTrigger();
        } catch (ApiException e) {
            System.err.println("Exception when calling StatementApi#statementNotificationManualTrigger");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
StatementApi *apiInstance = [[StatementApi alloc] init];

// Trigger statement notification manually.
[apiInstance statementNotificationManualTriggerWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesStatements = require('spenda_services_statements');

// Create an instance of the API class
var api = new SpendaServicesStatements.StatementApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.statementNotificationManualTrigger(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class statementNotificationManualTriggerExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new StatementApi();

            try {
                // Trigger statement notification manually.
                apiInstance.statementNotificationManualTrigger();
            } catch (Exception e) {
                Debug.Print("Exception when calling StatementApi.statementNotificationManualTrigger: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\StatementApi();

try {
    $api_instance->statementNotificationManualTrigger();
} catch (Exception $e) {
    echo 'Exception when calling StatementApi->statementNotificationManualTrigger: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::StatementApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::StatementApi->new();

eval {
    $api_instance->statementNotificationManualTrigger();
};
if ($@) {
    warn "Exception when calling StatementApi->statementNotificationManualTrigger: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.StatementApi()

try:
    # Trigger statement notification manually.
    api_instance.statement_notification_manual_trigger()
except ApiException as e:
    print("Exception when calling StatementApi->statementNotificationManualTrigger: %s\n" % e)
extern crate StatementApi;

pub fn main() {

    let mut context = StatementApi::Context::default();
    let result = client.statementNotificationManualTrigger(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


statementSummary

Get statement Summary

Get statement Summary.


/Spenda/Statements/Summary

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Statements/Summary"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.StatementApi;

import java.io.File;
import java.util.*;

public class StatementApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        StatementApi apiInstance = new StatementApi();

        try {
            basicResponse_statementSummary result = apiInstance.statementSummary();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StatementApi#statementSummary");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.statementSummary();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->statementSummary: $e\n');
}

import org.openapitools.client.api.StatementApi;

public class StatementApiExample {
    public static void main(String[] args) {
        StatementApi apiInstance = new StatementApi();

        try {
            basicResponse_statementSummary result = apiInstance.statementSummary();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StatementApi#statementSummary");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
StatementApi *apiInstance = [[StatementApi alloc] init];

// Get statement Summary
[apiInstance statementSummaryWithCompletionHandler: 
              ^(basicResponse_statementSummary output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesStatements = require('spenda_services_statements');

// Create an instance of the API class
var api = new SpendaServicesStatements.StatementApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.statementSummary(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class statementSummaryExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new StatementApi();

            try {
                // Get statement Summary
                basicResponse_statementSummary result = apiInstance.statementSummary();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling StatementApi.statementSummary: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\StatementApi();

try {
    $result = $api_instance->statementSummary();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StatementApi->statementSummary: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::StatementApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::StatementApi->new();

eval {
    my $result = $api_instance->statementSummary();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StatementApi->statementSummary: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.StatementApi()

try:
    # Get statement Summary
    api_response = api_instance.statement_summary()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StatementApi->statementSummary: %s\n" % e)
extern crate StatementApi;

pub fn main() {

    let mut context = StatementApi::Context::default();
    let result = client.statementSummary(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses