Spenda.Services.Widget

Default

termsAndConditions

Decodes the supplied token and Accepts Terms and Condtions.

Decodes the supplied token and Accepts Terms and Condtions.


/Spenda/Widget/TermsAndConditions

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Widget/TermsAndConditions?t=t_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

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

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String t = t_example; // String | Secure token used to configure the Widget

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

final api_instance = DefaultApi();

final String t = new String(); // String | Secure token used to configure the Widget

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String t = t_example; // String | Secure token used to configure the Widget

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *t = t_example; // Secure token used to configure the Widget (default to null)

// Decodes the supplied token and Accepts Terms and Condtions.
[apiInstance termsAndConditionsWith:t
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesWidget = require('spenda_services_widget');

// Create an instance of the API class
var api = new SpendaServicesWidget.DefaultApi()
var t = t_example; // {String} Secure token used to configure the Widget

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var t = t_example;  // String | Secure token used to configure the Widget (default to null)

            try {
                // Decodes the supplied token and Accepts Terms and Condtions.
                apiInstance.termsAndConditions(t);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.termsAndConditions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$t = t_example; // String | Secure token used to configure the Widget

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $t = t_example; # String | Secure token used to configure the Widget

eval {
    $api_instance->termsAndConditions(t => $t);
};
if ($@) {
    warn "Exception when calling DefaultApi->termsAndConditions: $@\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.DefaultApi()
t = t_example # String | Secure token used to configure the Widget (default to null)

try:
    # Decodes the supplied token and Accepts Terms and Condtions.
    api_instance.terms_and_conditions(t)
except ApiException as e:
    print("Exception when calling DefaultApi->termsAndConditions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let t = t_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.termsAndConditions(t, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
t*
String
Secure token used to configure the Widget
Required

Responses


widgetLoad

Retrieves the data used to populate the Widget.

Decodes the supplied token and retrieves the details of the buyer, supplier, purchase and available payment methods.


/Spenda/Widget/Load

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Widget/Load?t=t_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

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

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String t = t_example; // String | Secure token used to configure the Widget

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

final api_instance = DefaultApi();

final String t = new String(); // String | Secure token used to configure the Widget

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String t = t_example; // String | Secure token used to configure the Widget

        try {
            httpActionResult_widgetResponse result = apiInstance.widgetLoad(t);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#widgetLoad");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *t = t_example; // Secure token used to configure the Widget (default to null)

// Retrieves the data used to populate the Widget.
[apiInstance widgetLoadWith:t
              completionHandler: ^(httpActionResult_widgetResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesWidget = require('spenda_services_widget');

// Create an instance of the API class
var api = new SpendaServicesWidget.DefaultApi()
var t = t_example; // {String} Secure token used to configure the Widget

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var t = t_example;  // String | Secure token used to configure the Widget (default to null)

            try {
                // Retrieves the data used to populate the Widget.
                httpActionResult_widgetResponse result = apiInstance.widgetLoad(t);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.widgetLoad: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$t = t_example; // String | Secure token used to configure the Widget

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $t = t_example; # String | Secure token used to configure the Widget

eval {
    my $result = $api_instance->widgetLoad(t => $t);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->widgetLoad: $@\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.DefaultApi()
t = t_example # String | Secure token used to configure the Widget (default to null)

try:
    # Retrieves the data used to populate the Widget.
    api_response = api_instance.widget_load(t)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->widgetLoad: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let t = t_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.widgetLoad(t, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
t*
String
Secure token used to configure the Widget
Required

Responses


widgetPayment

Submits a payment for processing.

Submits a payment for processing.


/Spenda/Widget/Payment

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Widget/Payment?t=t_example" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

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

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String t = t_example; // String | Secure token used to configure the Widget
        PaymentRequest paymentRequest = {"paymentAccountGUID":"string","payment":{"id":"string","paymentServiceMerchantGUID":"string","paymentMethod":"AmericanExpress","paymentAmount":0,"feeAmount":0,"feeDescription":"string","totalAmount":0,"appliedPoints":{"usePoints":true,"pointsUsed":0,"pointsValue":0,"standardPointsEarned":0,"bonusPointsEarned":0},"estimatedPointsEarned":0}}; // PaymentRequest | 

        try {
            httpActionResult_paymentResponse result = apiInstance.widgetPayment(t, paymentRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#widgetPayment");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String t = new String(); // String | Secure token used to configure the Widget
final PaymentRequest paymentRequest = new PaymentRequest(); // PaymentRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String t = t_example; // String | Secure token used to configure the Widget
        PaymentRequest paymentRequest = {"paymentAccountGUID":"string","payment":{"id":"string","paymentServiceMerchantGUID":"string","paymentMethod":"AmericanExpress","paymentAmount":0,"feeAmount":0,"feeDescription":"string","totalAmount":0,"appliedPoints":{"usePoints":true,"pointsUsed":0,"pointsValue":0,"standardPointsEarned":0,"bonusPointsEarned":0},"estimatedPointsEarned":0}}; // PaymentRequest | 

        try {
            httpActionResult_paymentResponse result = apiInstance.widgetPayment(t, paymentRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#widgetPayment");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *t = t_example; // Secure token used to configure the Widget (default to null)
PaymentRequest *paymentRequest = {"paymentAccountGUID":"string","payment":{"id":"string","paymentServiceMerchantGUID":"string","paymentMethod":"AmericanExpress","paymentAmount":0,"feeAmount":0,"feeDescription":"string","totalAmount":0,"appliedPoints":{"usePoints":true,"pointsUsed":0,"pointsValue":0,"standardPointsEarned":0,"bonusPointsEarned":0},"estimatedPointsEarned":0}}; //  (optional)

// Submits a payment for processing.
[apiInstance widgetPaymentWith:t
    paymentRequest:paymentRequest
              completionHandler: ^(httpActionResult_paymentResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesWidget = require('spenda_services_widget');

// Create an instance of the API class
var api = new SpendaServicesWidget.DefaultApi()
var t = t_example; // {String} Secure token used to configure the Widget
var opts = {
  'paymentRequest': {"paymentAccountGUID":"string","payment":{"id":"string","paymentServiceMerchantGUID":"string","paymentMethod":"AmericanExpress","paymentAmount":0,"feeAmount":0,"feeDescription":"string","totalAmount":0,"appliedPoints":{"usePoints":true,"pointsUsed":0,"pointsValue":0,"standardPointsEarned":0,"bonusPointsEarned":0},"estimatedPointsEarned":0}} // {PaymentRequest} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var t = t_example;  // String | Secure token used to configure the Widget (default to null)
            var paymentRequest = new PaymentRequest(); // PaymentRequest |  (optional) 

            try {
                // Submits a payment for processing.
                httpActionResult_paymentResponse result = apiInstance.widgetPayment(t, paymentRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.widgetPayment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$t = t_example; // String | Secure token used to configure the Widget
$paymentRequest = {"paymentAccountGUID":"string","payment":{"id":"string","paymentServiceMerchantGUID":"string","paymentMethod":"AmericanExpress","paymentAmount":0,"feeAmount":0,"feeDescription":"string","totalAmount":0,"appliedPoints":{"usePoints":true,"pointsUsed":0,"pointsValue":0,"standardPointsEarned":0,"bonusPointsEarned":0},"estimatedPointsEarned":0}}; // PaymentRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $t = t_example; # String | Secure token used to configure the Widget
my $paymentRequest = WWW::OPenAPIClient::Object::PaymentRequest->new(); # PaymentRequest | 

eval {
    my $result = $api_instance->widgetPayment(t => $t, paymentRequest => $paymentRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->widgetPayment: $@\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.DefaultApi()
t = t_example # String | Secure token used to configure the Widget (default to null)
paymentRequest = {"paymentAccountGUID":"string","payment":{"id":"string","paymentServiceMerchantGUID":"string","paymentMethod":"AmericanExpress","paymentAmount":0,"feeAmount":0,"feeDescription":"string","totalAmount":0,"appliedPoints":{"usePoints":true,"pointsUsed":0,"pointsValue":0,"standardPointsEarned":0,"bonusPointsEarned":0},"estimatedPointsEarned":0}} # PaymentRequest |  (optional)

try:
    # Submits a payment for processing.
    api_response = api_instance.widget_payment(t, paymentRequest=paymentRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->widgetPayment: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let t = t_example; // String
    let paymentRequest = {"paymentAccountGUID":"string","payment":{"id":"string","paymentServiceMerchantGUID":"string","paymentMethod":"AmericanExpress","paymentAmount":0,"feeAmount":0,"feeDescription":"string","totalAmount":0,"appliedPoints":{"usePoints":true,"pointsUsed":0,"pointsValue":0,"standardPointsEarned":0,"bonusPointsEarned":0},"estimatedPointsEarned":0}}; // PaymentRequest

    let mut context = DefaultApi::Context::default();
    let result = client.widgetPayment(t, paymentRequest, &context).wait();

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

Scopes

Parameters

Body parameters
Name Description
paymentRequest

Query parameters
Name Description
t*
String
Secure token used to configure the Widget
Required

Responses


widgetPoints

Recalculates the value of points applied to the transaction.

When the user changes the number of points used to offset the payment amount, the Widget will call this endpoint to recalculate the payment total and the number of points earned.


/Spenda/Widget/Points

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.dev.spenda.co/api/Spenda/Widget/Points?t=t_example" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

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

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String t = t_example; // String | Secure token used to configure the Widget
        PointsRequest pointsRequest = {"paymentAccountGUID":"string","usePoints":true,"pointsUsed":0}; // PointsRequest | 

        try {
            httpActionResult_paymentAccount result = apiInstance.widgetPoints(t, pointsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#widgetPoints");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String t = new String(); // String | Secure token used to configure the Widget
final PointsRequest pointsRequest = new PointsRequest(); // PointsRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String t = t_example; // String | Secure token used to configure the Widget
        PointsRequest pointsRequest = {"paymentAccountGUID":"string","usePoints":true,"pointsUsed":0}; // PointsRequest | 

        try {
            httpActionResult_paymentAccount result = apiInstance.widgetPoints(t, pointsRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#widgetPoints");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *t = t_example; // Secure token used to configure the Widget (default to null)
PointsRequest *pointsRequest = {"paymentAccountGUID":"string","usePoints":true,"pointsUsed":0}; //  (optional)

// Recalculates the value of points applied to the transaction.
[apiInstance widgetPointsWith:t
    pointsRequest:pointsRequest
              completionHandler: ^(httpActionResult_paymentAccount output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var SpendaServicesWidget = require('spenda_services_widget');

// Create an instance of the API class
var api = new SpendaServicesWidget.DefaultApi()
var t = t_example; // {String} Secure token used to configure the Widget
var opts = {
  'pointsRequest': {"paymentAccountGUID":"string","usePoints":true,"pointsUsed":0} // {PointsRequest} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var t = t_example;  // String | Secure token used to configure the Widget (default to null)
            var pointsRequest = new PointsRequest(); // PointsRequest |  (optional) 

            try {
                // Recalculates the value of points applied to the transaction.
                httpActionResult_paymentAccount result = apiInstance.widgetPoints(t, pointsRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.widgetPoints: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$t = t_example; // String | Secure token used to configure the Widget
$pointsRequest = {"paymentAccountGUID":"string","usePoints":true,"pointsUsed":0}; // PointsRequest | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $t = t_example; # String | Secure token used to configure the Widget
my $pointsRequest = WWW::OPenAPIClient::Object::PointsRequest->new(); # PointsRequest | 

eval {
    my $result = $api_instance->widgetPoints(t => $t, pointsRequest => $pointsRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->widgetPoints: $@\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.DefaultApi()
t = t_example # String | Secure token used to configure the Widget (default to null)
pointsRequest = {"paymentAccountGUID":"string","usePoints":true,"pointsUsed":0} # PointsRequest |  (optional)

try:
    # Recalculates the value of points applied to the transaction.
    api_response = api_instance.widget_points(t, pointsRequest=pointsRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->widgetPoints: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let t = t_example; // String
    let pointsRequest = {"paymentAccountGUID":"string","usePoints":true,"pointsUsed":0}; // PointsRequest

    let mut context = DefaultApi::Context::default();
    let result = client.widgetPoints(t, pointsRequest, &context).wait();

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

Scopes

Parameters

Body parameters
Name Description
pointsRequest

Query parameters
Name Description
t*
String
Secure token used to configure the Widget
Required

Responses