AS Server - API - Payment

Default

paymentDelete

Payment_Delete


/Payment/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Payment/{id}"
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();
        Integer id = 56; // Integer | 

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)

// Payment_Delete
[apiInstance paymentDeleteWith:id
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var id = 56; // {Integer} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)

            try {
                // Payment_Delete
                ActionResults result = apiInstance.paymentDelete(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 

try {
    $result = $api_instance->paymentDelete($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentDelete: ', $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 $id = 56; # Integer | 

eval {
    my $result = $api_instance->paymentDelete(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentDelete: $@\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()
id = 56 # Integer |  (default to null)

try:
    # Payment_Delete
    api_response = api_instance.payment_delete(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentDelete: %s\n" % e)
extern crate DefaultApi;

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

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

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required

Responses


paymentGet

Payment_Get


/Payment/

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Payment/?filter.businessID=56&filter.customerID=56&filter.supplierID=56&filter.warehouseID=56&filter.deliveryMethods=filterPerioddeliveryMethods_example&filter.datTypes=&filter.maxExpiresInDays=56&filter.repUserID=56&filter.isCreatedByOtherPartyOnly=true&filter.createdByUserId=56&filter.statuses=&filter.statusStrings=&filter.status=&filter.searchString=filterPeriodsearchString_example&filter.searchNameOnly=true&filter.search=filterPeriodsearch_example&filter.startDate=2013-10-20T19:20:30+01:00&filter.endDate=2013-10-20T19:20:30+01:00&filter.datePeriod=filterPerioddatePeriod_example&filter.isExactMatch=true&filter.isGetBasicInfo=true&filter.includeDeleted=true&filter.includeLogs=true&filter.ignoreID=56&filter.parentID=56&filter.getCountOnly=true&filter.transactionTypeDatTypeID=56&filter.categoryID=56&filter.adaptorID=56&filter.categoryIDs=&filter.brandIDs=&filter.iDs=&filter.gUIDs=&filter.linkedSupplierID=56&filter.isApprovedForPOS=true&filter.isApprovedForWeb=true&filter.isApprovedForService=true&filter.iD=56&filter.isHierarchicalSort=true&filter.types=&filter.isShowFavourites=true&filter.isHidden=true&filter.includeSystemTasks=true&filter.isSystem=true&filter.batchStatus=filterPeriodbatchStatus_example&filter.sortField=filterPeriodsortField_example&filter.sortAsc=true&filter.groupBy=filterPeriodgroupBy_example&filter.lastRowNumber=789&filter.maxResults=56&filter.tenantID=56&filter.websiteID=56&filter.userID=56"
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();
        Integer filterPeriodbusinessID = 56; // Integer | 
        Integer filterPeriodcustomerID = 56; // Integer | 
        Integer filterPeriodsupplierID = 56; // Integer | 
        Integer filterPeriodwarehouseID = 56; // Integer | 
        String filterPerioddeliveryMethods = filterPerioddeliveryMethods_example; // String | 
        array[String] filterPerioddatTypes = ; // array[String] | 
        Integer filterPeriodmaxExpiresInDays = 56; // Integer | 
        Integer filterPeriodrepUserID = 56; // Integer | 
        Boolean filterPeriodisCreatedByOtherPartyOnly = true; // Boolean | 
        Integer filterPeriodcreatedByUserId = 56; // Integer | 
        array[Integer] filterPeriodstatuses = ; // array[Integer] | 
        array[String] filterPeriodstatusStrings = ; // array[String] | 
        array[String] filterPeriodstatus = ; // array[String] | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsearchNameOnly = true; // Boolean | 
        String filterPeriodsearch = filterPeriodsearch_example; // String | 
        Date filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | 
        Date filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | 
        String filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
        Boolean filterPeriodisExactMatch = true; // Boolean | 
        Boolean filterPeriodisGetBasicInfo = true; // Boolean | 
        Boolean filterPeriodincludeDeleted = true; // Boolean | 
        Boolean filterPeriodincludeLogs = true; // Boolean | 
        Integer filterPeriodignoreID = 56; // Integer | 
        Integer filterPeriodparentID = 56; // Integer | 
        Boolean filterPeriodgetCountOnly = true; // Boolean | 
        Integer filterPeriodtransactionTypeDatTypeID = 56; // Integer | 
        Integer filterPeriodcategoryID = 56; // Integer | 
        Integer filterPeriodadaptorID = 56; // Integer | 
        array[Integer] filterPeriodcategoryIDs = ; // array[Integer] | 
        array[Integer] filterPeriodbrandIDs = ; // array[Integer] | 
        array[Integer] filterPeriodiDs = ; // array[Integer] | 
        array[String] filterPeriodgUIDs = ; // array[String] | 
        Integer filterPeriodlinkedSupplierID = 56; // Integer | 
        Boolean filterPeriodisApprovedForPOS = true; // Boolean | 
        Boolean filterPeriodisApprovedForWeb = true; // Boolean | 
        Boolean filterPeriodisApprovedForService = true; // Boolean | 
        Integer filterPeriodiD = 56; // Integer | 
        Boolean filterPeriodisHierarchicalSort = true; // Boolean | 
        array[String] filterPeriodtypes = ; // array[String] | 
        Boolean filterPeriodisShowFavourites = true; // Boolean | 
        Boolean filterPeriodisHidden = true; // Boolean | 
        Boolean filterPeriodincludeSystemTasks = true; // Boolean | 
        Boolean filterPeriodisSystem = true; // Boolean | 
        String filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        String filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
        Long filterPeriodlastRowNumber = 789; // Long | 
        Integer filterPeriodmaxResults = 56; // Integer | 
        Integer filterPeriodtenantID = 56; // Integer | 
        Integer filterPeriodwebsiteID = 56; // Integer | 
        Integer filterPerioduserID = 56; // Integer | 

        try {
            PagedActionResults_Payments_ result = apiInstance.paymentGet(filterPeriodbusinessID, filterPeriodcustomerID, filterPeriodsupplierID, filterPeriodwarehouseID, filterPerioddeliveryMethods, filterPerioddatTypes, filterPeriodmaxExpiresInDays, filterPeriodrepUserID, filterPeriodisCreatedByOtherPartyOnly, filterPeriodcreatedByUserId, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#paymentGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer filterPeriodbusinessID = new Integer(); // Integer | 
final Integer filterPeriodcustomerID = new Integer(); // Integer | 
final Integer filterPeriodsupplierID = new Integer(); // Integer | 
final Integer filterPeriodwarehouseID = new Integer(); // Integer | 
final String filterPerioddeliveryMethods = new String(); // String | 
final array[String] filterPerioddatTypes = new array[String](); // array[String] | 
final Integer filterPeriodmaxExpiresInDays = new Integer(); // Integer | 
final Integer filterPeriodrepUserID = new Integer(); // Integer | 
final Boolean filterPeriodisCreatedByOtherPartyOnly = new Boolean(); // Boolean | 
final Integer filterPeriodcreatedByUserId = new Integer(); // Integer | 
final array[Integer] filterPeriodstatuses = new array[Integer](); // array[Integer] | 
final array[String] filterPeriodstatusStrings = new array[String](); // array[String] | 
final array[String] filterPeriodstatus = new array[String](); // array[String] | 
final String filterPeriodsearchString = new String(); // String | 
final Boolean filterPeriodsearchNameOnly = new Boolean(); // Boolean | 
final String filterPeriodsearch = new String(); // String | 
final Date filterPeriodstartDate = new Date(); // Date | 
final Date filterPeriodendDate = new Date(); // Date | 
final String filterPerioddatePeriod = new String(); // String | 
final Boolean filterPeriodisExactMatch = new Boolean(); // Boolean | 
final Boolean filterPeriodisGetBasicInfo = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeDeleted = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeLogs = new Boolean(); // Boolean | 
final Integer filterPeriodignoreID = new Integer(); // Integer | 
final Integer filterPeriodparentID = new Integer(); // Integer | 
final Boolean filterPeriodgetCountOnly = new Boolean(); // Boolean | 
final Integer filterPeriodtransactionTypeDatTypeID = new Integer(); // Integer | 
final Integer filterPeriodcategoryID = new Integer(); // Integer | 
final Integer filterPeriodadaptorID = new Integer(); // Integer | 
final array[Integer] filterPeriodcategoryIDs = new array[Integer](); // array[Integer] | 
final array[Integer] filterPeriodbrandIDs = new array[Integer](); // array[Integer] | 
final array[Integer] filterPeriodiDs = new array[Integer](); // array[Integer] | 
final array[String] filterPeriodgUIDs = new array[String](); // array[String] | 
final Integer filterPeriodlinkedSupplierID = new Integer(); // Integer | 
final Boolean filterPeriodisApprovedForPOS = new Boolean(); // Boolean | 
final Boolean filterPeriodisApprovedForWeb = new Boolean(); // Boolean | 
final Boolean filterPeriodisApprovedForService = new Boolean(); // Boolean | 
final Integer filterPeriodiD = new Integer(); // Integer | 
final Boolean filterPeriodisHierarchicalSort = new Boolean(); // Boolean | 
final array[String] filterPeriodtypes = new array[String](); // array[String] | 
final Boolean filterPeriodisShowFavourites = new Boolean(); // Boolean | 
final Boolean filterPeriodisHidden = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeSystemTasks = new Boolean(); // Boolean | 
final Boolean filterPeriodisSystem = new Boolean(); // Boolean | 
final String filterPeriodbatchStatus = new String(); // String | 
final String filterPeriodsortField = new String(); // String | 
final Boolean filterPeriodsortAsc = new Boolean(); // Boolean | 
final String filterPeriodgroupBy = new String(); // String | 
final Long filterPeriodlastRowNumber = new Long(); // Long | 
final Integer filterPeriodmaxResults = new Integer(); // Integer | 
final Integer filterPeriodtenantID = new Integer(); // Integer | 
final Integer filterPeriodwebsiteID = new Integer(); // Integer | 
final Integer filterPerioduserID = new Integer(); // Integer | 

try {
    final result = await api_instance.paymentGet(filterPeriodbusinessID, filterPeriodcustomerID, filterPeriodsupplierID, filterPeriodwarehouseID, filterPerioddeliveryMethods, filterPerioddatTypes, filterPeriodmaxExpiresInDays, filterPeriodrepUserID, filterPeriodisCreatedByOtherPartyOnly, filterPeriodcreatedByUserId, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->paymentGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer filterPeriodbusinessID = 56; // Integer | 
        Integer filterPeriodcustomerID = 56; // Integer | 
        Integer filterPeriodsupplierID = 56; // Integer | 
        Integer filterPeriodwarehouseID = 56; // Integer | 
        String filterPerioddeliveryMethods = filterPerioddeliveryMethods_example; // String | 
        array[String] filterPerioddatTypes = ; // array[String] | 
        Integer filterPeriodmaxExpiresInDays = 56; // Integer | 
        Integer filterPeriodrepUserID = 56; // Integer | 
        Boolean filterPeriodisCreatedByOtherPartyOnly = true; // Boolean | 
        Integer filterPeriodcreatedByUserId = 56; // Integer | 
        array[Integer] filterPeriodstatuses = ; // array[Integer] | 
        array[String] filterPeriodstatusStrings = ; // array[String] | 
        array[String] filterPeriodstatus = ; // array[String] | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsearchNameOnly = true; // Boolean | 
        String filterPeriodsearch = filterPeriodsearch_example; // String | 
        Date filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | 
        Date filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | 
        String filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
        Boolean filterPeriodisExactMatch = true; // Boolean | 
        Boolean filterPeriodisGetBasicInfo = true; // Boolean | 
        Boolean filterPeriodincludeDeleted = true; // Boolean | 
        Boolean filterPeriodincludeLogs = true; // Boolean | 
        Integer filterPeriodignoreID = 56; // Integer | 
        Integer filterPeriodparentID = 56; // Integer | 
        Boolean filterPeriodgetCountOnly = true; // Boolean | 
        Integer filterPeriodtransactionTypeDatTypeID = 56; // Integer | 
        Integer filterPeriodcategoryID = 56; // Integer | 
        Integer filterPeriodadaptorID = 56; // Integer | 
        array[Integer] filterPeriodcategoryIDs = ; // array[Integer] | 
        array[Integer] filterPeriodbrandIDs = ; // array[Integer] | 
        array[Integer] filterPeriodiDs = ; // array[Integer] | 
        array[String] filterPeriodgUIDs = ; // array[String] | 
        Integer filterPeriodlinkedSupplierID = 56; // Integer | 
        Boolean filterPeriodisApprovedForPOS = true; // Boolean | 
        Boolean filterPeriodisApprovedForWeb = true; // Boolean | 
        Boolean filterPeriodisApprovedForService = true; // Boolean | 
        Integer filterPeriodiD = 56; // Integer | 
        Boolean filterPeriodisHierarchicalSort = true; // Boolean | 
        array[String] filterPeriodtypes = ; // array[String] | 
        Boolean filterPeriodisShowFavourites = true; // Boolean | 
        Boolean filterPeriodisHidden = true; // Boolean | 
        Boolean filterPeriodincludeSystemTasks = true; // Boolean | 
        Boolean filterPeriodisSystem = true; // Boolean | 
        String filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        String filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
        Long filterPeriodlastRowNumber = 789; // Long | 
        Integer filterPeriodmaxResults = 56; // Integer | 
        Integer filterPeriodtenantID = 56; // Integer | 
        Integer filterPeriodwebsiteID = 56; // Integer | 
        Integer filterPerioduserID = 56; // Integer | 

        try {
            PagedActionResults_Payments_ result = apiInstance.paymentGet(filterPeriodbusinessID, filterPeriodcustomerID, filterPeriodsupplierID, filterPeriodwarehouseID, filterPerioddeliveryMethods, filterPerioddatTypes, filterPeriodmaxExpiresInDays, filterPeriodrepUserID, filterPeriodisCreatedByOtherPartyOnly, filterPeriodcreatedByUserId, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#paymentGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *filterPeriodbusinessID = 56; //  (optional) (default to null)
Integer *filterPeriodcustomerID = 56; //  (optional) (default to null)
Integer *filterPeriodsupplierID = 56; //  (optional) (default to null)
Integer *filterPeriodwarehouseID = 56; //  (optional) (default to null)
String *filterPerioddeliveryMethods = filterPerioddeliveryMethods_example; //  (optional) (default to null)
array[String] *filterPerioddatTypes = ; //  (optional) (default to null)
Integer *filterPeriodmaxExpiresInDays = 56; //  (optional) (default to null)
Integer *filterPeriodrepUserID = 56; //  (optional) (default to null)
Boolean *filterPeriodisCreatedByOtherPartyOnly = true; //  (optional) (default to null)
Integer *filterPeriodcreatedByUserId = 56; //  (optional) (default to null)
array[Integer] *filterPeriodstatuses = ; //  (optional) (default to null)
array[String] *filterPeriodstatusStrings = ; //  (optional) (default to null)
array[String] *filterPeriodstatus = ; //  (optional) (default to null)
String *filterPeriodsearchString = filterPeriodsearchString_example; //  (optional) (default to null)
Boolean *filterPeriodsearchNameOnly = true; //  (optional) (default to null)
String *filterPeriodsearch = filterPeriodsearch_example; //  (optional) (default to null)
Date *filterPeriodstartDate = 2013-10-20T19:20:30+01:00; //  (optional) (default to null)
Date *filterPeriodendDate = 2013-10-20T19:20:30+01:00; //  (optional) (default to null)
String *filterPerioddatePeriod = filterPerioddatePeriod_example; //  (optional) (default to null)
Boolean *filterPeriodisExactMatch = true; //  (optional) (default to null)
Boolean *filterPeriodisGetBasicInfo = true; //  (optional) (default to null)
Boolean *filterPeriodincludeDeleted = true; //  (optional) (default to null)
Boolean *filterPeriodincludeLogs = true; //  (optional) (default to null)
Integer *filterPeriodignoreID = 56; //  (optional) (default to null)
Integer *filterPeriodparentID = 56; //  (optional) (default to null)
Boolean *filterPeriodgetCountOnly = true; //  (optional) (default to null)
Integer *filterPeriodtransactionTypeDatTypeID = 56; //  (optional) (default to null)
Integer *filterPeriodcategoryID = 56; //  (optional) (default to null)
Integer *filterPeriodadaptorID = 56; //  (optional) (default to null)
array[Integer] *filterPeriodcategoryIDs = ; //  (optional) (default to null)
array[Integer] *filterPeriodbrandIDs = ; //  (optional) (default to null)
array[Integer] *filterPeriodiDs = ; //  (optional) (default to null)
array[String] *filterPeriodgUIDs = ; //  (optional) (default to null)
Integer *filterPeriodlinkedSupplierID = 56; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForPOS = true; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForWeb = true; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForService = true; //  (optional) (default to null)
Integer *filterPeriodiD = 56; //  (optional) (default to null)
Boolean *filterPeriodisHierarchicalSort = true; //  (optional) (default to null)
array[String] *filterPeriodtypes = ; //  (optional) (default to null)
Boolean *filterPeriodisShowFavourites = true; //  (optional) (default to null)
Boolean *filterPeriodisHidden = true; //  (optional) (default to null)
Boolean *filterPeriodincludeSystemTasks = true; //  (optional) (default to null)
Boolean *filterPeriodisSystem = true; //  (optional) (default to null)
String *filterPeriodbatchStatus = filterPeriodbatchStatus_example; //  (optional) (default to null)
String *filterPeriodsortField = filterPeriodsortField_example; //  (optional) (default to null)
Boolean *filterPeriodsortAsc = true; //  (optional) (default to null)
String *filterPeriodgroupBy = filterPeriodgroupBy_example; //  (optional) (default to null)
Long *filterPeriodlastRowNumber = 789; //  (optional) (default to null)
Integer *filterPeriodmaxResults = 56; //  (optional) (default to null)
Integer *filterPeriodtenantID = 56; //  (optional) (default to null)
Integer *filterPeriodwebsiteID = 56; //  (optional) (default to null)
Integer *filterPerioduserID = 56; //  (optional) (default to null)

// Payment_Get
[apiInstance paymentGetWith:filterPeriodbusinessID
    filterPeriodcustomerID:filterPeriodcustomerID
    filterPeriodsupplierID:filterPeriodsupplierID
    filterPeriodwarehouseID:filterPeriodwarehouseID
    filterPerioddeliveryMethods:filterPerioddeliveryMethods
    filterPerioddatTypes:filterPerioddatTypes
    filterPeriodmaxExpiresInDays:filterPeriodmaxExpiresInDays
    filterPeriodrepUserID:filterPeriodrepUserID
    filterPeriodisCreatedByOtherPartyOnly:filterPeriodisCreatedByOtherPartyOnly
    filterPeriodcreatedByUserId:filterPeriodcreatedByUserId
    filterPeriodstatuses:filterPeriodstatuses
    filterPeriodstatusStrings:filterPeriodstatusStrings
    filterPeriodstatus:filterPeriodstatus
    filterPeriodsearchString:filterPeriodsearchString
    filterPeriodsearchNameOnly:filterPeriodsearchNameOnly
    filterPeriodsearch:filterPeriodsearch
    filterPeriodstartDate:filterPeriodstartDate
    filterPeriodendDate:filterPeriodendDate
    filterPerioddatePeriod:filterPerioddatePeriod
    filterPeriodisExactMatch:filterPeriodisExactMatch
    filterPeriodisGetBasicInfo:filterPeriodisGetBasicInfo
    filterPeriodincludeDeleted:filterPeriodincludeDeleted
    filterPeriodincludeLogs:filterPeriodincludeLogs
    filterPeriodignoreID:filterPeriodignoreID
    filterPeriodparentID:filterPeriodparentID
    filterPeriodgetCountOnly:filterPeriodgetCountOnly
    filterPeriodtransactionTypeDatTypeID:filterPeriodtransactionTypeDatTypeID
    filterPeriodcategoryID:filterPeriodcategoryID
    filterPeriodadaptorID:filterPeriodadaptorID
    filterPeriodcategoryIDs:filterPeriodcategoryIDs
    filterPeriodbrandIDs:filterPeriodbrandIDs
    filterPeriodiDs:filterPeriodiDs
    filterPeriodgUIDs:filterPeriodgUIDs
    filterPeriodlinkedSupplierID:filterPeriodlinkedSupplierID
    filterPeriodisApprovedForPOS:filterPeriodisApprovedForPOS
    filterPeriodisApprovedForWeb:filterPeriodisApprovedForWeb
    filterPeriodisApprovedForService:filterPeriodisApprovedForService
    filterPeriodiD:filterPeriodiD
    filterPeriodisHierarchicalSort:filterPeriodisHierarchicalSort
    filterPeriodtypes:filterPeriodtypes
    filterPeriodisShowFavourites:filterPeriodisShowFavourites
    filterPeriodisHidden:filterPeriodisHidden
    filterPeriodincludeSystemTasks:filterPeriodincludeSystemTasks
    filterPeriodisSystem:filterPeriodisSystem
    filterPeriodbatchStatus:filterPeriodbatchStatus
    filterPeriodsortField:filterPeriodsortField
    filterPeriodsortAsc:filterPeriodsortAsc
    filterPeriodgroupBy:filterPeriodgroupBy
    filterPeriodlastRowNumber:filterPeriodlastRowNumber
    filterPeriodmaxResults:filterPeriodmaxResults
    filterPeriodtenantID:filterPeriodtenantID
    filterPeriodwebsiteID:filterPeriodwebsiteID
    filterPerioduserID:filterPerioduserID
              completionHandler: ^(PagedActionResults_Payments_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var opts = {
  'filterPeriodbusinessID': 56, // {Integer} 
  'filterPeriodcustomerID': 56, // {Integer} 
  'filterPeriodsupplierID': 56, // {Integer} 
  'filterPeriodwarehouseID': 56, // {Integer} 
  'filterPerioddeliveryMethods': filterPerioddeliveryMethods_example, // {String} 
  'filterPerioddatTypes': , // {array[String]} 
  'filterPeriodmaxExpiresInDays': 56, // {Integer} 
  'filterPeriodrepUserID': 56, // {Integer} 
  'filterPeriodisCreatedByOtherPartyOnly': true, // {Boolean} 
  'filterPeriodcreatedByUserId': 56, // {Integer} 
  'filterPeriodstatuses': , // {array[Integer]} 
  'filterPeriodstatusStrings': , // {array[String]} 
  'filterPeriodstatus': , // {array[String]} 
  'filterPeriodsearchString': filterPeriodsearchString_example, // {String} 
  'filterPeriodsearchNameOnly': true, // {Boolean} 
  'filterPeriodsearch': filterPeriodsearch_example, // {String} 
  'filterPeriodstartDate': 2013-10-20T19:20:30+01:00, // {Date} 
  'filterPeriodendDate': 2013-10-20T19:20:30+01:00, // {Date} 
  'filterPerioddatePeriod': filterPerioddatePeriod_example, // {String} 
  'filterPeriodisExactMatch': true, // {Boolean} 
  'filterPeriodisGetBasicInfo': true, // {Boolean} 
  'filterPeriodincludeDeleted': true, // {Boolean} 
  'filterPeriodincludeLogs': true, // {Boolean} 
  'filterPeriodignoreID': 56, // {Integer} 
  'filterPeriodparentID': 56, // {Integer} 
  'filterPeriodgetCountOnly': true, // {Boolean} 
  'filterPeriodtransactionTypeDatTypeID': 56, // {Integer} 
  'filterPeriodcategoryID': 56, // {Integer} 
  'filterPeriodadaptorID': 56, // {Integer} 
  'filterPeriodcategoryIDs': , // {array[Integer]} 
  'filterPeriodbrandIDs': , // {array[Integer]} 
  'filterPeriodiDs': , // {array[Integer]} 
  'filterPeriodgUIDs': , // {array[String]} 
  'filterPeriodlinkedSupplierID': 56, // {Integer} 
  'filterPeriodisApprovedForPOS': true, // {Boolean} 
  'filterPeriodisApprovedForWeb': true, // {Boolean} 
  'filterPeriodisApprovedForService': true, // {Boolean} 
  'filterPeriodiD': 56, // {Integer} 
  'filterPeriodisHierarchicalSort': true, // {Boolean} 
  'filterPeriodtypes': , // {array[String]} 
  'filterPeriodisShowFavourites': true, // {Boolean} 
  'filterPeriodisHidden': true, // {Boolean} 
  'filterPeriodincludeSystemTasks': true, // {Boolean} 
  'filterPeriodisSystem': true, // {Boolean} 
  'filterPeriodbatchStatus': filterPeriodbatchStatus_example, // {String} 
  'filterPeriodsortField': filterPeriodsortField_example, // {String} 
  'filterPeriodsortAsc': true, // {Boolean} 
  'filterPeriodgroupBy': filterPeriodgroupBy_example, // {String} 
  'filterPeriodlastRowNumber': 789, // {Long} 
  'filterPeriodmaxResults': 56, // {Integer} 
  'filterPeriodtenantID': 56, // {Integer} 
  'filterPeriodwebsiteID': 56, // {Integer} 
  'filterPerioduserID': 56 // {Integer} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var filterPeriodbusinessID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodcustomerID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodsupplierID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodwarehouseID = 56;  // Integer |  (optional)  (default to null)
            var filterPerioddeliveryMethods = filterPerioddeliveryMethods_example;  // String |  (optional)  (default to null)
            var filterPerioddatTypes = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodmaxExpiresInDays = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodrepUserID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodisCreatedByOtherPartyOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodcreatedByUserId = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodstatuses = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodstatusStrings = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodstatus = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodsearchString = filterPeriodsearchString_example;  // String |  (optional)  (default to null)
            var filterPeriodsearchNameOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodsearch = filterPeriodsearch_example;  // String |  (optional)  (default to null)
            var filterPeriodstartDate = 2013-10-20T19:20:30+01:00;  // Date |  (optional)  (default to null)
            var filterPeriodendDate = 2013-10-20T19:20:30+01:00;  // Date |  (optional)  (default to null)
            var filterPerioddatePeriod = filterPerioddatePeriod_example;  // String |  (optional)  (default to null)
            var filterPeriodisExactMatch = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisGetBasicInfo = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeDeleted = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeLogs = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodignoreID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodparentID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodgetCountOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodtransactionTypeDatTypeID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodcategoryID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodadaptorID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodcategoryIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodbrandIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodiDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodgUIDs = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodlinkedSupplierID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodisApprovedForPOS = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisApprovedForWeb = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisApprovedForService = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodiD = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodisHierarchicalSort = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodtypes = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodisShowFavourites = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisHidden = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeSystemTasks = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisSystem = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodbatchStatus = filterPeriodbatchStatus_example;  // String |  (optional)  (default to null)
            var filterPeriodsortField = filterPeriodsortField_example;  // String |  (optional)  (default to null)
            var filterPeriodsortAsc = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodgroupBy = filterPeriodgroupBy_example;  // String |  (optional)  (default to null)
            var filterPeriodlastRowNumber = 789;  // Long |  (optional)  (default to null)
            var filterPeriodmaxResults = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodtenantID = 56;  // Integer |  (optional)  (default to null)
            var filterPeriodwebsiteID = 56;  // Integer |  (optional)  (default to null)
            var filterPerioduserID = 56;  // Integer |  (optional)  (default to null)

            try {
                // Payment_Get
                PagedActionResults_Payments_ result = apiInstance.paymentGet(filterPeriodbusinessID, filterPeriodcustomerID, filterPeriodsupplierID, filterPeriodwarehouseID, filterPerioddeliveryMethods, filterPerioddatTypes, filterPeriodmaxExpiresInDays, filterPeriodrepUserID, filterPeriodisCreatedByOtherPartyOnly, filterPeriodcreatedByUserId, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$filterPeriodbusinessID = 56; // Integer | 
$filterPeriodcustomerID = 56; // Integer | 
$filterPeriodsupplierID = 56; // Integer | 
$filterPeriodwarehouseID = 56; // Integer | 
$filterPerioddeliveryMethods = filterPerioddeliveryMethods_example; // String | 
$filterPerioddatTypes = ; // array[String] | 
$filterPeriodmaxExpiresInDays = 56; // Integer | 
$filterPeriodrepUserID = 56; // Integer | 
$filterPeriodisCreatedByOtherPartyOnly = true; // Boolean | 
$filterPeriodcreatedByUserId = 56; // Integer | 
$filterPeriodstatuses = ; // array[Integer] | 
$filterPeriodstatusStrings = ; // array[String] | 
$filterPeriodstatus = ; // array[String] | 
$filterPeriodsearchString = filterPeriodsearchString_example; // String | 
$filterPeriodsearchNameOnly = true; // Boolean | 
$filterPeriodsearch = filterPeriodsearch_example; // String | 
$filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | 
$filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | 
$filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
$filterPeriodisExactMatch = true; // Boolean | 
$filterPeriodisGetBasicInfo = true; // Boolean | 
$filterPeriodincludeDeleted = true; // Boolean | 
$filterPeriodincludeLogs = true; // Boolean | 
$filterPeriodignoreID = 56; // Integer | 
$filterPeriodparentID = 56; // Integer | 
$filterPeriodgetCountOnly = true; // Boolean | 
$filterPeriodtransactionTypeDatTypeID = 56; // Integer | 
$filterPeriodcategoryID = 56; // Integer | 
$filterPeriodadaptorID = 56; // Integer | 
$filterPeriodcategoryIDs = ; // array[Integer] | 
$filterPeriodbrandIDs = ; // array[Integer] | 
$filterPeriodiDs = ; // array[Integer] | 
$filterPeriodgUIDs = ; // array[String] | 
$filterPeriodlinkedSupplierID = 56; // Integer | 
$filterPeriodisApprovedForPOS = true; // Boolean | 
$filterPeriodisApprovedForWeb = true; // Boolean | 
$filterPeriodisApprovedForService = true; // Boolean | 
$filterPeriodiD = 56; // Integer | 
$filterPeriodisHierarchicalSort = true; // Boolean | 
$filterPeriodtypes = ; // array[String] | 
$filterPeriodisShowFavourites = true; // Boolean | 
$filterPeriodisHidden = true; // Boolean | 
$filterPeriodincludeSystemTasks = true; // Boolean | 
$filterPeriodisSystem = true; // Boolean | 
$filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
$filterPeriodsortField = filterPeriodsortField_example; // String | 
$filterPeriodsortAsc = true; // Boolean | 
$filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
$filterPeriodlastRowNumber = 789; // Long | 
$filterPeriodmaxResults = 56; // Integer | 
$filterPeriodtenantID = 56; // Integer | 
$filterPeriodwebsiteID = 56; // Integer | 
$filterPerioduserID = 56; // Integer | 

try {
    $result = $api_instance->paymentGet($filterPeriodbusinessID, $filterPeriodcustomerID, $filterPeriodsupplierID, $filterPeriodwarehouseID, $filterPerioddeliveryMethods, $filterPerioddatTypes, $filterPeriodmaxExpiresInDays, $filterPeriodrepUserID, $filterPeriodisCreatedByOtherPartyOnly, $filterPeriodcreatedByUserId, $filterPeriodstatuses, $filterPeriodstatusStrings, $filterPeriodstatus, $filterPeriodsearchString, $filterPeriodsearchNameOnly, $filterPeriodsearch, $filterPeriodstartDate, $filterPeriodendDate, $filterPerioddatePeriod, $filterPeriodisExactMatch, $filterPeriodisGetBasicInfo, $filterPeriodincludeDeleted, $filterPeriodincludeLogs, $filterPeriodignoreID, $filterPeriodparentID, $filterPeriodgetCountOnly, $filterPeriodtransactionTypeDatTypeID, $filterPeriodcategoryID, $filterPeriodadaptorID, $filterPeriodcategoryIDs, $filterPeriodbrandIDs, $filterPeriodiDs, $filterPeriodgUIDs, $filterPeriodlinkedSupplierID, $filterPeriodisApprovedForPOS, $filterPeriodisApprovedForWeb, $filterPeriodisApprovedForService, $filterPeriodiD, $filterPeriodisHierarchicalSort, $filterPeriodtypes, $filterPeriodisShowFavourites, $filterPeriodisHidden, $filterPeriodincludeSystemTasks, $filterPeriodisSystem, $filterPeriodbatchStatus, $filterPeriodsortField, $filterPeriodsortAsc, $filterPeriodgroupBy, $filterPeriodlastRowNumber, $filterPeriodmaxResults, $filterPeriodtenantID, $filterPeriodwebsiteID, $filterPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentGet: ', $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 $filterPeriodbusinessID = 56; # Integer | 
my $filterPeriodcustomerID = 56; # Integer | 
my $filterPeriodsupplierID = 56; # Integer | 
my $filterPeriodwarehouseID = 56; # Integer | 
my $filterPerioddeliveryMethods = filterPerioddeliveryMethods_example; # String | 
my $filterPerioddatTypes = []; # array[String] | 
my $filterPeriodmaxExpiresInDays = 56; # Integer | 
my $filterPeriodrepUserID = 56; # Integer | 
my $filterPeriodisCreatedByOtherPartyOnly = true; # Boolean | 
my $filterPeriodcreatedByUserId = 56; # Integer | 
my $filterPeriodstatuses = []; # array[Integer] | 
my $filterPeriodstatusStrings = []; # array[String] | 
my $filterPeriodstatus = []; # array[String] | 
my $filterPeriodsearchString = filterPeriodsearchString_example; # String | 
my $filterPeriodsearchNameOnly = true; # Boolean | 
my $filterPeriodsearch = filterPeriodsearch_example; # String | 
my $filterPeriodstartDate = 2013-10-20T19:20:30+01:00; # Date | 
my $filterPeriodendDate = 2013-10-20T19:20:30+01:00; # Date | 
my $filterPerioddatePeriod = filterPerioddatePeriod_example; # String | 
my $filterPeriodisExactMatch = true; # Boolean | 
my $filterPeriodisGetBasicInfo = true; # Boolean | 
my $filterPeriodincludeDeleted = true; # Boolean | 
my $filterPeriodincludeLogs = true; # Boolean | 
my $filterPeriodignoreID = 56; # Integer | 
my $filterPeriodparentID = 56; # Integer | 
my $filterPeriodgetCountOnly = true; # Boolean | 
my $filterPeriodtransactionTypeDatTypeID = 56; # Integer | 
my $filterPeriodcategoryID = 56; # Integer | 
my $filterPeriodadaptorID = 56; # Integer | 
my $filterPeriodcategoryIDs = []; # array[Integer] | 
my $filterPeriodbrandIDs = []; # array[Integer] | 
my $filterPeriodiDs = []; # array[Integer] | 
my $filterPeriodgUIDs = []; # array[String] | 
my $filterPeriodlinkedSupplierID = 56; # Integer | 
my $filterPeriodisApprovedForPOS = true; # Boolean | 
my $filterPeriodisApprovedForWeb = true; # Boolean | 
my $filterPeriodisApprovedForService = true; # Boolean | 
my $filterPeriodiD = 56; # Integer | 
my $filterPeriodisHierarchicalSort = true; # Boolean | 
my $filterPeriodtypes = []; # array[String] | 
my $filterPeriodisShowFavourites = true; # Boolean | 
my $filterPeriodisHidden = true; # Boolean | 
my $filterPeriodincludeSystemTasks = true; # Boolean | 
my $filterPeriodisSystem = true; # Boolean | 
my $filterPeriodbatchStatus = filterPeriodbatchStatus_example; # String | 
my $filterPeriodsortField = filterPeriodsortField_example; # String | 
my $filterPeriodsortAsc = true; # Boolean | 
my $filterPeriodgroupBy = filterPeriodgroupBy_example; # String | 
my $filterPeriodlastRowNumber = 789; # Long | 
my $filterPeriodmaxResults = 56; # Integer | 
my $filterPeriodtenantID = 56; # Integer | 
my $filterPeriodwebsiteID = 56; # Integer | 
my $filterPerioduserID = 56; # Integer | 

eval {
    my $result = $api_instance->paymentGet(filterPeriodbusinessID => $filterPeriodbusinessID, filterPeriodcustomerID => $filterPeriodcustomerID, filterPeriodsupplierID => $filterPeriodsupplierID, filterPeriodwarehouseID => $filterPeriodwarehouseID, filterPerioddeliveryMethods => $filterPerioddeliveryMethods, filterPerioddatTypes => $filterPerioddatTypes, filterPeriodmaxExpiresInDays => $filterPeriodmaxExpiresInDays, filterPeriodrepUserID => $filterPeriodrepUserID, filterPeriodisCreatedByOtherPartyOnly => $filterPeriodisCreatedByOtherPartyOnly, filterPeriodcreatedByUserId => $filterPeriodcreatedByUserId, filterPeriodstatuses => $filterPeriodstatuses, filterPeriodstatusStrings => $filterPeriodstatusStrings, filterPeriodstatus => $filterPeriodstatus, filterPeriodsearchString => $filterPeriodsearchString, filterPeriodsearchNameOnly => $filterPeriodsearchNameOnly, filterPeriodsearch => $filterPeriodsearch, filterPeriodstartDate => $filterPeriodstartDate, filterPeriodendDate => $filterPeriodendDate, filterPerioddatePeriod => $filterPerioddatePeriod, filterPeriodisExactMatch => $filterPeriodisExactMatch, filterPeriodisGetBasicInfo => $filterPeriodisGetBasicInfo, filterPeriodincludeDeleted => $filterPeriodincludeDeleted, filterPeriodincludeLogs => $filterPeriodincludeLogs, filterPeriodignoreID => $filterPeriodignoreID, filterPeriodparentID => $filterPeriodparentID, filterPeriodgetCountOnly => $filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID => $filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID => $filterPeriodcategoryID, filterPeriodadaptorID => $filterPeriodadaptorID, filterPeriodcategoryIDs => $filterPeriodcategoryIDs, filterPeriodbrandIDs => $filterPeriodbrandIDs, filterPeriodiDs => $filterPeriodiDs, filterPeriodgUIDs => $filterPeriodgUIDs, filterPeriodlinkedSupplierID => $filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS => $filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb => $filterPeriodisApprovedForWeb, filterPeriodisApprovedForService => $filterPeriodisApprovedForService, filterPeriodiD => $filterPeriodiD, filterPeriodisHierarchicalSort => $filterPeriodisHierarchicalSort, filterPeriodtypes => $filterPeriodtypes, filterPeriodisShowFavourites => $filterPeriodisShowFavourites, filterPeriodisHidden => $filterPeriodisHidden, filterPeriodincludeSystemTasks => $filterPeriodincludeSystemTasks, filterPeriodisSystem => $filterPeriodisSystem, filterPeriodbatchStatus => $filterPeriodbatchStatus, filterPeriodsortField => $filterPeriodsortField, filterPeriodsortAsc => $filterPeriodsortAsc, filterPeriodgroupBy => $filterPeriodgroupBy, filterPeriodlastRowNumber => $filterPeriodlastRowNumber, filterPeriodmaxResults => $filterPeriodmaxResults, filterPeriodtenantID => $filterPeriodtenantID, filterPeriodwebsiteID => $filterPeriodwebsiteID, filterPerioduserID => $filterPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentGet: $@\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()
filterPeriodbusinessID = 56 # Integer |  (optional) (default to null)
filterPeriodcustomerID = 56 # Integer |  (optional) (default to null)
filterPeriodsupplierID = 56 # Integer |  (optional) (default to null)
filterPeriodwarehouseID = 56 # Integer |  (optional) (default to null)
filterPerioddeliveryMethods = filterPerioddeliveryMethods_example # String |  (optional) (default to null)
filterPerioddatTypes =  # array[String] |  (optional) (default to null)
filterPeriodmaxExpiresInDays = 56 # Integer |  (optional) (default to null)
filterPeriodrepUserID = 56 # Integer |  (optional) (default to null)
filterPeriodisCreatedByOtherPartyOnly = true # Boolean |  (optional) (default to null)
filterPeriodcreatedByUserId = 56 # Integer |  (optional) (default to null)
filterPeriodstatuses =  # array[Integer] |  (optional) (default to null)
filterPeriodstatusStrings =  # array[String] |  (optional) (default to null)
filterPeriodstatus =  # array[String] |  (optional) (default to null)
filterPeriodsearchString = filterPeriodsearchString_example # String |  (optional) (default to null)
filterPeriodsearchNameOnly = true # Boolean |  (optional) (default to null)
filterPeriodsearch = filterPeriodsearch_example # String |  (optional) (default to null)
filterPeriodstartDate = 2013-10-20T19:20:30+01:00 # Date |  (optional) (default to null)
filterPeriodendDate = 2013-10-20T19:20:30+01:00 # Date |  (optional) (default to null)
filterPerioddatePeriod = filterPerioddatePeriod_example # String |  (optional) (default to null)
filterPeriodisExactMatch = true # Boolean |  (optional) (default to null)
filterPeriodisGetBasicInfo = true # Boolean |  (optional) (default to null)
filterPeriodincludeDeleted = true # Boolean |  (optional) (default to null)
filterPeriodincludeLogs = true # Boolean |  (optional) (default to null)
filterPeriodignoreID = 56 # Integer |  (optional) (default to null)
filterPeriodparentID = 56 # Integer |  (optional) (default to null)
filterPeriodgetCountOnly = true # Boolean |  (optional) (default to null)
filterPeriodtransactionTypeDatTypeID = 56 # Integer |  (optional) (default to null)
filterPeriodcategoryID = 56 # Integer |  (optional) (default to null)
filterPeriodadaptorID = 56 # Integer |  (optional) (default to null)
filterPeriodcategoryIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodbrandIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodiDs =  # array[Integer] |  (optional) (default to null)
filterPeriodgUIDs =  # array[String] |  (optional) (default to null)
filterPeriodlinkedSupplierID = 56 # Integer |  (optional) (default to null)
filterPeriodisApprovedForPOS = true # Boolean |  (optional) (default to null)
filterPeriodisApprovedForWeb = true # Boolean |  (optional) (default to null)
filterPeriodisApprovedForService = true # Boolean |  (optional) (default to null)
filterPeriodiD = 56 # Integer |  (optional) (default to null)
filterPeriodisHierarchicalSort = true # Boolean |  (optional) (default to null)
filterPeriodtypes =  # array[String] |  (optional) (default to null)
filterPeriodisShowFavourites = true # Boolean |  (optional) (default to null)
filterPeriodisHidden = true # Boolean |  (optional) (default to null)
filterPeriodincludeSystemTasks = true # Boolean |  (optional) (default to null)
filterPeriodisSystem = true # Boolean |  (optional) (default to null)
filterPeriodbatchStatus = filterPeriodbatchStatus_example # String |  (optional) (default to null)
filterPeriodsortField = filterPeriodsortField_example # String |  (optional) (default to null)
filterPeriodsortAsc = true # Boolean |  (optional) (default to null)
filterPeriodgroupBy = filterPeriodgroupBy_example # String |  (optional) (default to null)
filterPeriodlastRowNumber = 789 # Long |  (optional) (default to null)
filterPeriodmaxResults = 56 # Integer |  (optional) (default to null)
filterPeriodtenantID = 56 # Integer |  (optional) (default to null)
filterPeriodwebsiteID = 56 # Integer |  (optional) (default to null)
filterPerioduserID = 56 # Integer |  (optional) (default to null)

try:
    # Payment_Get
    api_response = api_instance.payment_get(filterPeriodbusinessID=filterPeriodbusinessID, filterPeriodcustomerID=filterPeriodcustomerID, filterPeriodsupplierID=filterPeriodsupplierID, filterPeriodwarehouseID=filterPeriodwarehouseID, filterPerioddeliveryMethods=filterPerioddeliveryMethods, filterPerioddatTypes=filterPerioddatTypes, filterPeriodmaxExpiresInDays=filterPeriodmaxExpiresInDays, filterPeriodrepUserID=filterPeriodrepUserID, filterPeriodisCreatedByOtherPartyOnly=filterPeriodisCreatedByOtherPartyOnly, filterPeriodcreatedByUserId=filterPeriodcreatedByUserId, filterPeriodstatuses=filterPeriodstatuses, filterPeriodstatusStrings=filterPeriodstatusStrings, filterPeriodstatus=filterPeriodstatus, filterPeriodsearchString=filterPeriodsearchString, filterPeriodsearchNameOnly=filterPeriodsearchNameOnly, filterPeriodsearch=filterPeriodsearch, filterPeriodstartDate=filterPeriodstartDate, filterPeriodendDate=filterPeriodendDate, filterPerioddatePeriod=filterPerioddatePeriod, filterPeriodisExactMatch=filterPeriodisExactMatch, filterPeriodisGetBasicInfo=filterPeriodisGetBasicInfo, filterPeriodincludeDeleted=filterPeriodincludeDeleted, filterPeriodincludeLogs=filterPeriodincludeLogs, filterPeriodignoreID=filterPeriodignoreID, filterPeriodparentID=filterPeriodparentID, filterPeriodgetCountOnly=filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID=filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID=filterPeriodcategoryID, filterPeriodadaptorID=filterPeriodadaptorID, filterPeriodcategoryIDs=filterPeriodcategoryIDs, filterPeriodbrandIDs=filterPeriodbrandIDs, filterPeriodiDs=filterPeriodiDs, filterPeriodgUIDs=filterPeriodgUIDs, filterPeriodlinkedSupplierID=filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS=filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb=filterPeriodisApprovedForWeb, filterPeriodisApprovedForService=filterPeriodisApprovedForService, filterPeriodiD=filterPeriodiD, filterPeriodisHierarchicalSort=filterPeriodisHierarchicalSort, filterPeriodtypes=filterPeriodtypes, filterPeriodisShowFavourites=filterPeriodisShowFavourites, filterPeriodisHidden=filterPeriodisHidden, filterPeriodincludeSystemTasks=filterPeriodincludeSystemTasks, filterPeriodisSystem=filterPeriodisSystem, filterPeriodbatchStatus=filterPeriodbatchStatus, filterPeriodsortField=filterPeriodsortField, filterPeriodsortAsc=filterPeriodsortAsc, filterPeriodgroupBy=filterPeriodgroupBy, filterPeriodlastRowNumber=filterPeriodlastRowNumber, filterPeriodmaxResults=filterPeriodmaxResults, filterPeriodtenantID=filterPeriodtenantID, filterPeriodwebsiteID=filterPeriodwebsiteID, filterPerioduserID=filterPerioduserID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let filterPeriodbusinessID = 56; // Integer
    let filterPeriodcustomerID = 56; // Integer
    let filterPeriodsupplierID = 56; // Integer
    let filterPeriodwarehouseID = 56; // Integer
    let filterPerioddeliveryMethods = filterPerioddeliveryMethods_example; // String
    let filterPerioddatTypes = ; // array[String]
    let filterPeriodmaxExpiresInDays = 56; // Integer
    let filterPeriodrepUserID = 56; // Integer
    let filterPeriodisCreatedByOtherPartyOnly = true; // Boolean
    let filterPeriodcreatedByUserId = 56; // Integer
    let filterPeriodstatuses = ; // array[Integer]
    let filterPeriodstatusStrings = ; // array[String]
    let filterPeriodstatus = ; // array[String]
    let filterPeriodsearchString = filterPeriodsearchString_example; // String
    let filterPeriodsearchNameOnly = true; // Boolean
    let filterPeriodsearch = filterPeriodsearch_example; // String
    let filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date
    let filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date
    let filterPerioddatePeriod = filterPerioddatePeriod_example; // String
    let filterPeriodisExactMatch = true; // Boolean
    let filterPeriodisGetBasicInfo = true; // Boolean
    let filterPeriodincludeDeleted = true; // Boolean
    let filterPeriodincludeLogs = true; // Boolean
    let filterPeriodignoreID = 56; // Integer
    let filterPeriodparentID = 56; // Integer
    let filterPeriodgetCountOnly = true; // Boolean
    let filterPeriodtransactionTypeDatTypeID = 56; // Integer
    let filterPeriodcategoryID = 56; // Integer
    let filterPeriodadaptorID = 56; // Integer
    let filterPeriodcategoryIDs = ; // array[Integer]
    let filterPeriodbrandIDs = ; // array[Integer]
    let filterPeriodiDs = ; // array[Integer]
    let filterPeriodgUIDs = ; // array[String]
    let filterPeriodlinkedSupplierID = 56; // Integer
    let filterPeriodisApprovedForPOS = true; // Boolean
    let filterPeriodisApprovedForWeb = true; // Boolean
    let filterPeriodisApprovedForService = true; // Boolean
    let filterPeriodiD = 56; // Integer
    let filterPeriodisHierarchicalSort = true; // Boolean
    let filterPeriodtypes = ; // array[String]
    let filterPeriodisShowFavourites = true; // Boolean
    let filterPeriodisHidden = true; // Boolean
    let filterPeriodincludeSystemTasks = true; // Boolean
    let filterPeriodisSystem = true; // Boolean
    let filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String
    let filterPeriodsortField = filterPeriodsortField_example; // String
    let filterPeriodsortAsc = true; // Boolean
    let filterPeriodgroupBy = filterPeriodgroupBy_example; // String
    let filterPeriodlastRowNumber = 789; // Long
    let filterPeriodmaxResults = 56; // Integer
    let filterPeriodtenantID = 56; // Integer
    let filterPeriodwebsiteID = 56; // Integer
    let filterPerioduserID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.paymentGet(filterPeriodbusinessID, filterPeriodcustomerID, filterPeriodsupplierID, filterPeriodwarehouseID, filterPerioddeliveryMethods, filterPerioddatTypes, filterPeriodmaxExpiresInDays, filterPeriodrepUserID, filterPeriodisCreatedByOtherPartyOnly, filterPeriodcreatedByUserId, filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
filter.businessID
Integer (int32)
filter.customerID
Integer (int32)
filter.supplierID
Integer (int32)
filter.warehouseID
Integer (int32)
filter.deliveryMethods
String
filter.datTypes
array[String]
filter.maxExpiresInDays
Integer (int32)
filter.repUserID
Integer (int32)
filter.isCreatedByOtherPartyOnly
Boolean
filter.createdByUserId
Integer (int32)
filter.statuses
array[Integer] (int32)
filter.statusStrings
array[String]
filter.status
array[String]
filter.searchString
String
filter.searchNameOnly
Boolean
filter.search
String
filter.startDate
Date (date-time)
filter.endDate
Date (date-time)
filter.datePeriod
String
filter.isExactMatch
Boolean
filter.isGetBasicInfo
Boolean
filter.includeDeleted
Boolean
filter.includeLogs
Boolean
filter.ignoreID
Integer (int32)
filter.parentID
Integer (int32)
filter.getCountOnly
Boolean
filter.transactionTypeDatTypeID
Integer (int32)
filter.categoryID
Integer (int32)
filter.adaptorID
Integer (int32)
filter.categoryIDs
array[Integer] (int32)
filter.brandIDs
array[Integer] (int32)
filter.iDs
array[Integer] (int32)
filter.gUIDs
array[String]
filter.linkedSupplierID
Integer (int32)
filter.isApprovedForPOS
Boolean
filter.isApprovedForWeb
Boolean
filter.isApprovedForService
Boolean
filter.iD
Integer (int32)
filter.isHierarchicalSort
Boolean
filter.types
array[String]
filter.isShowFavourites
Boolean
filter.isHidden
Boolean
filter.includeSystemTasks
Boolean
filter.isSystem
Boolean
filter.batchStatus
String
filter.sortField
String
filter.sortAsc
Boolean
filter.groupBy
String
filter.lastRowNumber
Long (int64)
filter.maxResults
Integer (int32)
filter.tenantID
Integer (int32)
filter.websiteID
Integer (int32)
filter.userID
Integer (int32)

Responses


paymentGetByID

Payment_GetByID


/Payment/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Payment/{id}?req.iD=56&req.gUID=38400000-8cf0-11bd-b23e-10b96e4ef00d&req.isGetExtraInfo=true&req.tenantID=56&req.websiteID=56&req.userID=56"
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();
        Integer id = 56; // Integer | 
        Integer reqPeriodiD = 56; // Integer | 
        UUID reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
        Boolean reqPeriodisGetExtraInfo = true; // Boolean | 
        Integer reqPeriodtenantID = 56; // Integer | 
        Integer reqPeriodwebsiteID = 56; // Integer | 
        Integer reqPerioduserID = 56; // Integer | 

        try {
            EditResponse_PaymentT_ result = apiInstance.paymentGetByID(id, reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#paymentGetByID");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 
final Integer reqPeriodiD = new Integer(); // Integer | 
final UUID reqPeriodgUID = new UUID(); // UUID | 
final Boolean reqPeriodisGetExtraInfo = new Boolean(); // Boolean | 
final Integer reqPeriodtenantID = new Integer(); // Integer | 
final Integer reqPeriodwebsiteID = new Integer(); // Integer | 
final Integer reqPerioduserID = new Integer(); // Integer | 

try {
    final result = await api_instance.paymentGetByID(id, reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->paymentGetByID: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 
        Integer reqPeriodiD = 56; // Integer | 
        UUID reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
        Boolean reqPeriodisGetExtraInfo = true; // Boolean | 
        Integer reqPeriodtenantID = 56; // Integer | 
        Integer reqPeriodwebsiteID = 56; // Integer | 
        Integer reqPerioduserID = 56; // Integer | 

        try {
            EditResponse_PaymentT_ result = apiInstance.paymentGetByID(id, reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#paymentGetByID");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)
Integer *reqPeriodiD = 56; //  (optional) (default to null)
UUID *reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; //  (optional) (default to null)
Boolean *reqPeriodisGetExtraInfo = true; //  (optional) (default to null)
Integer *reqPeriodtenantID = 56; //  (optional) (default to null)
Integer *reqPeriodwebsiteID = 56; //  (optional) (default to null)
Integer *reqPerioduserID = 56; //  (optional) (default to null)

// Payment_GetByID
[apiInstance paymentGetByIDWith:id
    reqPeriodiD:reqPeriodiD
    reqPeriodgUID:reqPeriodgUID
    reqPeriodisGetExtraInfo:reqPeriodisGetExtraInfo
    reqPeriodtenantID:reqPeriodtenantID
    reqPeriodwebsiteID:reqPeriodwebsiteID
    reqPerioduserID:reqPerioduserID
              completionHandler: ^(EditResponse_PaymentT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var id = 56; // {Integer} 
var opts = {
  'reqPeriodiD': 56, // {Integer} 
  'reqPeriodgUID': 38400000-8cf0-11bd-b23e-10b96e4ef00d, // {UUID} 
  'reqPeriodisGetExtraInfo': true, // {Boolean} 
  'reqPeriodtenantID': 56, // {Integer} 
  'reqPeriodwebsiteID': 56, // {Integer} 
  'reqPerioduserID': 56 // {Integer} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)
            var reqPeriodiD = 56;  // Integer |  (optional)  (default to null)
            var reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID |  (optional)  (default to null)
            var reqPeriodisGetExtraInfo = true;  // Boolean |  (optional)  (default to null)
            var reqPeriodtenantID = 56;  // Integer |  (optional)  (default to null)
            var reqPeriodwebsiteID = 56;  // Integer |  (optional)  (default to null)
            var reqPerioduserID = 56;  // Integer |  (optional)  (default to null)

            try {
                // Payment_GetByID
                EditResponse_PaymentT_ result = apiInstance.paymentGetByID(id, reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentGetByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 
$reqPeriodiD = 56; // Integer | 
$reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 
$reqPeriodisGetExtraInfo = true; // Boolean | 
$reqPeriodtenantID = 56; // Integer | 
$reqPeriodwebsiteID = 56; // Integer | 
$reqPerioduserID = 56; // Integer | 

try {
    $result = $api_instance->paymentGetByID($id, $reqPeriodiD, $reqPeriodgUID, $reqPeriodisGetExtraInfo, $reqPeriodtenantID, $reqPeriodwebsiteID, $reqPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentGetByID: ', $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 $id = 56; # Integer | 
my $reqPeriodiD = 56; # Integer | 
my $reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | 
my $reqPeriodisGetExtraInfo = true; # Boolean | 
my $reqPeriodtenantID = 56; # Integer | 
my $reqPeriodwebsiteID = 56; # Integer | 
my $reqPerioduserID = 56; # Integer | 

eval {
    my $result = $api_instance->paymentGetByID(id => $id, reqPeriodiD => $reqPeriodiD, reqPeriodgUID => $reqPeriodgUID, reqPeriodisGetExtraInfo => $reqPeriodisGetExtraInfo, reqPeriodtenantID => $reqPeriodtenantID, reqPeriodwebsiteID => $reqPeriodwebsiteID, reqPerioduserID => $reqPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentGetByID: $@\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()
id = 56 # Integer |  (default to null)
reqPeriodiD = 56 # Integer |  (optional) (default to null)
reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID |  (optional) (default to null)
reqPeriodisGetExtraInfo = true # Boolean |  (optional) (default to null)
reqPeriodtenantID = 56 # Integer |  (optional) (default to null)
reqPeriodwebsiteID = 56 # Integer |  (optional) (default to null)
reqPerioduserID = 56 # Integer |  (optional) (default to null)

try:
    # Payment_GetByID
    api_response = api_instance.payment_get_by_id(id, reqPeriodiD=reqPeriodiD, reqPeriodgUID=reqPeriodgUID, reqPeriodisGetExtraInfo=reqPeriodisGetExtraInfo, reqPeriodtenantID=reqPeriodtenantID, reqPeriodwebsiteID=reqPeriodwebsiteID, reqPerioduserID=reqPerioduserID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentGetByID: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let reqPeriodiD = 56; // Integer
    let reqPeriodgUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let reqPeriodisGetExtraInfo = true; // Boolean
    let reqPeriodtenantID = 56; // Integer
    let reqPeriodwebsiteID = 56; // Integer
    let reqPerioduserID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.paymentGetByID(id, reqPeriodiD, reqPeriodgUID, reqPeriodisGetExtraInfo, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Query parameters
Name Description
req.iD
Integer (int32)
req.gUID
UUID (uuid)
req.isGetExtraInfo
Boolean
req.tenantID
Integer (int32)
req.websiteID
Integer (int32)
req.userID
Integer (int32)

Responses


paymentGetFailedPaymentsByPurchaseInvoiceID

Payment_GetFailedPaymentsByPurchaseInvoiceID


/Payment/getfailedpaymentsbypurchaseinvoiceid/{purchaseInvoiceID}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Payment/getfailedpaymentsbypurchaseinvoiceid/{purchaseInvoiceID}"
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();
        Integer purchaseInvoiceID = 56; // Integer | 

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

final api_instance = DefaultApi();

final Integer purchaseInvoiceID = new Integer(); // Integer | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer purchaseInvoiceID = 56; // Integer | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *purchaseInvoiceID = 56; //  (default to null)

// Payment_GetFailedPaymentsByPurchaseInvoiceID
[apiInstance paymentGetFailedPaymentsByPurchaseInvoiceIDWith:purchaseInvoiceID
              completionHandler: ^(ActionResults_List_PaymentT__ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var purchaseInvoiceID = 56; // {Integer} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var purchaseInvoiceID = 56;  // Integer |  (default to null)

            try {
                // Payment_GetFailedPaymentsByPurchaseInvoiceID
                ActionResults_List_PaymentT__ result = apiInstance.paymentGetFailedPaymentsByPurchaseInvoiceID(purchaseInvoiceID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentGetFailedPaymentsByPurchaseInvoiceID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$purchaseInvoiceID = 56; // Integer | 

try {
    $result = $api_instance->paymentGetFailedPaymentsByPurchaseInvoiceID($purchaseInvoiceID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentGetFailedPaymentsByPurchaseInvoiceID: ', $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 $purchaseInvoiceID = 56; # Integer | 

eval {
    my $result = $api_instance->paymentGetFailedPaymentsByPurchaseInvoiceID(purchaseInvoiceID => $purchaseInvoiceID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentGetFailedPaymentsByPurchaseInvoiceID: $@\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()
purchaseInvoiceID = 56 # Integer |  (default to null)

try:
    # Payment_GetFailedPaymentsByPurchaseInvoiceID
    api_response = api_instance.payment_get_failed_payments_by_purchase_invoice_id(purchaseInvoiceID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentGetFailedPaymentsByPurchaseInvoiceID: %s\n" % e)
extern crate DefaultApi;

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

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

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

Scopes

Parameters

Path parameters
Name Description
purchaseInvoiceID*
Integer (int32)
Required

Responses


paymentGetPaymentByBatchID

Payment_GetPaymentByBatchID


/Payment/GetPaymentByBatchID

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Payment/GetPaymentByBatchID?groupRefNumber=groupRefNumber_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 groupRefNumber = groupRefNumber_example; // String | 

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

final api_instance = DefaultApi();

final String groupRefNumber = new String(); // String | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String groupRefNumber = groupRefNumber_example; // String | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *groupRefNumber = groupRefNumber_example; //  (default to null)

// Payment_GetPaymentByBatchID
[apiInstance paymentGetPaymentByBatchIDWith:groupRefNumber
              completionHandler: ^(ActionResults_List_PaymentT__ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var groupRefNumber = groupRefNumber_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var groupRefNumber = groupRefNumber_example;  // String |  (default to null)

            try {
                // Payment_GetPaymentByBatchID
                ActionResults_List_PaymentT__ result = apiInstance.paymentGetPaymentByBatchID(groupRefNumber);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentGetPaymentByBatchID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$groupRefNumber = groupRefNumber_example; // String | 

try {
    $result = $api_instance->paymentGetPaymentByBatchID($groupRefNumber);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentGetPaymentByBatchID: ', $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 $groupRefNumber = groupRefNumber_example; # String | 

eval {
    my $result = $api_instance->paymentGetPaymentByBatchID(groupRefNumber => $groupRefNumber);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentGetPaymentByBatchID: $@\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()
groupRefNumber = groupRefNumber_example # String |  (default to null)

try:
    # Payment_GetPaymentByBatchID
    api_response = api_instance.payment_get_payment_by_batch_id(groupRefNumber)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentGetPaymentByBatchID: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let groupRefNumber = groupRefNumber_example; // String

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

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

Scopes

Parameters

Query parameters
Name Description
groupRefNumber*
String
Required

Responses


paymentGetPaymentWithAllocations

Payment_GetPaymentWithAllocations


/Payment/{id}/allocations

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Payment/{id}/allocations"
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();
        Integer id = 56; // Integer | 

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)

// Payment_GetPaymentWithAllocations
[apiInstance paymentGetPaymentWithAllocationsWith:id
              completionHandler: ^(ActionResults_PaymentT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var id = 56; // {Integer} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)

            try {
                // Payment_GetPaymentWithAllocations
                ActionResults_PaymentT_ result = apiInstance.paymentGetPaymentWithAllocations(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentGetPaymentWithAllocations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 

try {
    $result = $api_instance->paymentGetPaymentWithAllocations($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentGetPaymentWithAllocations: ', $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 $id = 56; # Integer | 

eval {
    my $result = $api_instance->paymentGetPaymentWithAllocations(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentGetPaymentWithAllocations: $@\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()
id = 56 # Integer |  (default to null)

try:
    # Payment_GetPaymentWithAllocations
    api_response = api_instance.payment_get_payment_with_allocations(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentGetPaymentWithAllocations: %s\n" % e)
extern crate DefaultApi;

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

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

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required

Responses


paymentGetStatus

Payment_GetStatus


/Payment/{id}/status

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Payment/{id}/status"
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();
        Integer id = 56; // Integer | 

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)

// Payment_GetStatus
[apiInstance paymentGetStatusWith:id
              completionHandler: ^(ActionResults_PaymentT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var id = 56; // {Integer} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)

            try {
                // Payment_GetStatus
                ActionResults_PaymentT_ result = apiInstance.paymentGetStatus(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentGetStatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 

try {
    $result = $api_instance->paymentGetStatus($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentGetStatus: ', $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 $id = 56; # Integer | 

eval {
    my $result = $api_instance->paymentGetStatus(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentGetStatus: $@\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()
id = 56 # Integer |  (default to null)

try:
    # Payment_GetStatus
    api_response = api_instance.payment_get_status(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentGetStatus: %s\n" % e)
extern crate DefaultApi;

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

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

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required

Responses


paymentPost

Payment_Post


/Payment/

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Payment/" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
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();
        SaveRequestPaymentT saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

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

final api_instance = DefaultApi();

final SaveRequestPaymentT saveRequestPaymentT = new SaveRequestPaymentT(); // SaveRequestPaymentT | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SaveRequestPaymentT saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SaveRequestPaymentT *saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Payment_Post
[apiInstance paymentPostWith:saveRequestPaymentT
              completionHandler: ^(SynkSaveQueueResponse_PaymentT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var opts = {
  'saveRequestPaymentT': {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0} // {SaveRequestPaymentT} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var saveRequestPaymentT = new SaveRequestPaymentT(); // SaveRequestPaymentT |  (optional) 

            try {
                // Payment_Post
                SynkSaveQueueResponse_PaymentT_ result = apiInstance.paymentPost(saveRequestPaymentT);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

try {
    $result = $api_instance->paymentPost($saveRequestPaymentT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentPost: ', $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 $saveRequestPaymentT = WWW::OPenAPIClient::Object::SaveRequestPaymentT->new(); # SaveRequestPaymentT | 

eval {
    my $result = $api_instance->paymentPost(saveRequestPaymentT => $saveRequestPaymentT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentPost: $@\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()
saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0} # SaveRequestPaymentT |  (optional)

try:
    # Payment_Post
    api_response = api_instance.payment_post(saveRequestPaymentT=saveRequestPaymentT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT

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

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

Scopes

Parameters

Body parameters
Name Description
saveRequestPaymentT

Responses


paymentPostRefund

Payment_PostRefund


/Payment/{id}/refund

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Payment/{id}/refund" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
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();
        Integer id = 56; // Integer | 
        SaveRequestPaymentT saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 
final SaveRequestPaymentT saveRequestPaymentT = new SaveRequestPaymentT(); // SaveRequestPaymentT | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 
        SaveRequestPaymentT saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

        try {
            SynkSaveQueueResponse_PaymentT_ result = apiInstance.paymentPostRefund(id, saveRequestPaymentT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#paymentPostRefund");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)
SaveRequestPaymentT *saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Payment_PostRefund
[apiInstance paymentPostRefundWith:id
    saveRequestPaymentT:saveRequestPaymentT
              completionHandler: ^(SynkSaveQueueResponse_PaymentT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var id = 56; // {Integer} 
var opts = {
  'saveRequestPaymentT': {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0} // {SaveRequestPaymentT} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)
            var saveRequestPaymentT = new SaveRequestPaymentT(); // SaveRequestPaymentT |  (optional) 

            try {
                // Payment_PostRefund
                SynkSaveQueueResponse_PaymentT_ result = apiInstance.paymentPostRefund(id, saveRequestPaymentT);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentPostRefund: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 
$saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

try {
    $result = $api_instance->paymentPostRefund($id, $saveRequestPaymentT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentPostRefund: ', $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 $id = 56; # Integer | 
my $saveRequestPaymentT = WWW::OPenAPIClient::Object::SaveRequestPaymentT->new(); # SaveRequestPaymentT | 

eval {
    my $result = $api_instance->paymentPostRefund(id => $id, saveRequestPaymentT => $saveRequestPaymentT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentPostRefund: $@\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()
id = 56 # Integer |  (default to null)
saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0} # SaveRequestPaymentT |  (optional)

try:
    # Payment_PostRefund
    api_response = api_instance.payment_post_refund(id, saveRequestPaymentT=saveRequestPaymentT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentPostRefund: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT

    let mut context = DefaultApi::Context::default();
    let result = client.paymentPostRefund(id, saveRequestPaymentT, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Body parameters
Name Description
saveRequestPaymentT

Responses


paymentPut

Payment_Put


/Payment/{id}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Payment/{id}" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
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();
        Integer id = 56; // Integer | 
        SaveRequestPaymentT saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 
final SaveRequestPaymentT saveRequestPaymentT = new SaveRequestPaymentT(); // SaveRequestPaymentT | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 
        SaveRequestPaymentT saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

        try {
            SynkSaveQueueResponse_PaymentT_ result = apiInstance.paymentPut(id, saveRequestPaymentT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#paymentPut");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)
SaveRequestPaymentT *saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Payment_Put
[apiInstance paymentPutWith:id
    saveRequestPaymentT:saveRequestPaymentT
              completionHandler: ^(SynkSaveQueueResponse_PaymentT_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var id = 56; // {Integer} 
var opts = {
  'saveRequestPaymentT': {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0} // {SaveRequestPaymentT} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)
            var saveRequestPaymentT = new SaveRequestPaymentT(); // SaveRequestPaymentT |  (optional) 

            try {
                // Payment_Put
                SynkSaveQueueResponse_PaymentT_ result = apiInstance.paymentPut(id, saveRequestPaymentT);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 
$saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT | 

try {
    $result = $api_instance->paymentPut($id, $saveRequestPaymentT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentPut: ', $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 $id = 56; # Integer | 
my $saveRequestPaymentT = WWW::OPenAPIClient::Object::SaveRequestPaymentT->new(); # SaveRequestPaymentT | 

eval {
    my $result = $api_instance->paymentPut(id => $id, saveRequestPaymentT => $saveRequestPaymentT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentPut: $@\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()
id = 56 # Integer |  (default to null)
saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0} # SaveRequestPaymentT |  (optional)

try:
    # Payment_Put
    api_response = api_instance.payment_put(id, saveRequestPaymentT=saveRequestPaymentT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let saveRequestPaymentT = {"Object":{"RowNumber":0,"Version":0,"GUID":"00000000-0000-0000-0000-000000000000","AmountString":"string","AmountTenderedString":"string","ChangeGivenString":"string","DateTimeString":"string","DateString":"string","DocID":0,"DatTypeID":0,"ErrorMessage":"string","FeeString":"string","IsGiftCard":true,"IsPaid":true,"POSTerminalShiftID":0,"POSDeviceID":"string","AccountCustomerRefNumber":"string","PaymentDeviceID":"string","MerchantID":"string","TerminalType":"string","SettlementDate":"string","IsManualSettlementDate":true,"IsBatched":true,"StatusDescription":"string","PaymentGroupRefNumber":"string","IsLoyaltyPointsToggleOn":true,"MerchantFeeAmount":0,"MerchantFeeDescription":"string","MCPPaymentTriggerID":"string","MCTrackTransactionID":"string","MCPTransactionID":"string","CreditCardLastFour":"string","PaymentUserID":0,"PaymentUserFullName":"string","ID":0,"GUIDstring":"string","BSID":"string","MethodID":0,"Method":"string","Currency":"string","Amount":0,"Fee":0,"AmountTendered":0,"ChangeGiven":0,"CashOut":0,"DateTime":"string","PaymentDateTime_utc":"string","PaymentDateTime_offset":0,"Status":"string","Token":"string","RefNumber":"string","TransRefNumber":"string","TransactionType":"string","TransactionTypeDatTypeID":0,"ReceiptID":"string","ChequeNumber":"string","AccountCode":"string","BankAccountCode":"string","ExchangeRate":0,"AppliedAmount":0,"AppliedDate":"string","CustomerID":0,"CustomerGUIDstring":"string","CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","IsAccountCustomer":true,"SupplierID":0,"SupplierGUIDstring":"string","SupplierName":"string","SupplierBSID":"string","SupplierRefNumber":"string","IsActive":true,"IsRefund":true,"IsRefunded":true,"InvoicePaymentID":0,"RepFirstName":"string","RepLastName":"string","RepEmailAddress":"string","RepUserName":"string","CreatedWith":"string","Balance":0,"IsManuallyAllocated":true,"TerminalID":"string","RefBusTrans":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}],"CreditCard":{"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"},"PaymentLogs":[{"ID":0,"Code":"string","Message":"string","Description":"string","LogDateTime_utc":"string","LogDateTime_offset":0,"PaymentStatus":"string","PaymentStatus3rdParty":"string"}],"PaymentService":"string","PayerFeeDescription":"string","PaymentServiceMerchantID":"string","PaymentServiceTerminalID":"string","PaymentAccountGUIDstring":"string","PaymentType":"string","SurchargeAmount":0,"SurchageDescription":"string","BatchBSID":"string","InvoicePaymentAllocations":[{"ID":0,"GUIDstring":"string","BSID":"string","Currency":"string","Amount":0,"ClaimRequestTotalAmount":0,"PaymentAllocationDateTime_utc":"string","Status":"string","RefNumber":"string","PaymentRefNumber":"string","CustomerID":0,"CustomerName":"string","CustomerBSID":"string","CustomerRefNumber":"string","AccountCustomerID":0,"AccountCustomerName":"string","AccountCustomerBSID":"string","AccountCustomerRefNumber":"string","ScheduledDateTime_utc":"string","PaymentDateTime_utc":"string","IsUpcomingPayment":true,"Invoices":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"CreditNotes":[{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}],"SyncLogs":[{"LastImportDateTime":"string","LastExportDateTime":"string","ID":0,"AdaptorID":0,"BSID":"string","LastImportDateTime_utc":"string","LastImportDateTime_offset":0,"Status":"string","Details":"string","LastExportDateTime_utc":"string","LastExportDateTime_offset":0,"SyncCode":"string","LastModifiedDateTime_utc":"string","LastModifiedDateTime_offset":0}]}],"AccountCustomerStatementPeriodID":0,"StatementStartDate":"string","StatementEndDate":"string","AccountBSID":"string","Description":"string"},"IsQueue":true,"IsSaveAutoQueue":true,"IsRunNow":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // SaveRequestPaymentT

    let mut context = DefaultApi::Context::default();
    let result = client.paymentPut(id, saveRequestPaymentT, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Body parameters
Name Description
saveRequestPaymentT

Responses


paymentSetManualAllocationForAdhocPayments

Payment_SetManualAllocationForAdhocPayments


/Payment/{id}/setmanualallocation

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Payment/{id}/setmanualallocation" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
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();
        Integer id = 56; // Integer | 
        ActionRequestBoolean actionRequestBoolean = {"Value":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestBoolean | 

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 
final ActionRequestBoolean actionRequestBoolean = new ActionRequestBoolean(); // ActionRequestBoolean | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 
        ActionRequestBoolean actionRequestBoolean = {"Value":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestBoolean | 

        try {
            ActionResults result = apiInstance.paymentSetManualAllocationForAdhocPayments(id, actionRequestBoolean);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#paymentSetManualAllocationForAdhocPayments");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)
ActionRequestBoolean *actionRequestBoolean = {"Value":true,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Payment_SetManualAllocationForAdhocPayments
[apiInstance paymentSetManualAllocationForAdhocPaymentsWith:id
    actionRequestBoolean:actionRequestBoolean
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var id = 56; // {Integer} 
var opts = {
  'actionRequestBoolean': {"Value":true,"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestBoolean} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)
            var actionRequestBoolean = new ActionRequestBoolean(); // ActionRequestBoolean |  (optional) 

            try {
                // Payment_SetManualAllocationForAdhocPayments
                ActionResults result = apiInstance.paymentSetManualAllocationForAdhocPayments(id, actionRequestBoolean);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentSetManualAllocationForAdhocPayments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 
$actionRequestBoolean = {"Value":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestBoolean | 

try {
    $result = $api_instance->paymentSetManualAllocationForAdhocPayments($id, $actionRequestBoolean);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentSetManualAllocationForAdhocPayments: ', $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 $id = 56; # Integer | 
my $actionRequestBoolean = WWW::OPenAPIClient::Object::ActionRequestBoolean->new(); # ActionRequestBoolean | 

eval {
    my $result = $api_instance->paymentSetManualAllocationForAdhocPayments(id => $id, actionRequestBoolean => $actionRequestBoolean);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentSetManualAllocationForAdhocPayments: $@\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()
id = 56 # Integer |  (default to null)
actionRequestBoolean = {"Value":true,"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestBoolean |  (optional)

try:
    # Payment_SetManualAllocationForAdhocPayments
    api_response = api_instance.payment_set_manual_allocation_for_adhoc_payments(id, actionRequestBoolean=actionRequestBoolean)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentSetManualAllocationForAdhocPayments: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let actionRequestBoolean = {"Value":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestBoolean

    let mut context = DefaultApi::Context::default();
    let result = client.paymentSetManualAllocationForAdhocPayments(id, actionRequestBoolean, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Body parameters
Name Description
actionRequestBoolean

Responses


paymentUpdateStatus

Payment_UpdateStatus


/Payment/{id}/status

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Payment/{id}/status" \
 -d '{
  "Status" : 6,
  "StatusString" : "StatusString",
  "ID" : 0
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<StatusUpdateRequest>
  <ID>123</ID>
  <Status>123</Status>
  <StatusString>aeiou</StatusString>
</StatusUpdateRequest>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
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();
        Integer id = 56; // Integer | 
        StatusUpdateRequest statusUpdateRequest = {"ID":0,"Status":0,"StatusString":"string"}; // StatusUpdateRequest | 

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 
final StatusUpdateRequest statusUpdateRequest = new StatusUpdateRequest(); // StatusUpdateRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 
        StatusUpdateRequest statusUpdateRequest = {"ID":0,"Status":0,"StatusString":"string"}; // StatusUpdateRequest | 

        try {
            ActionResults result = apiInstance.paymentUpdateStatus(id, statusUpdateRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#paymentUpdateStatus");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)
StatusUpdateRequest *statusUpdateRequest = {"ID":0,"Status":0,"StatusString":"string"}; //  (optional)

// Payment_UpdateStatus
[apiInstance paymentUpdateStatusWith:id
    statusUpdateRequest:statusUpdateRequest
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiPayment = require('as_server_api_payment');

// Create an instance of the API class
var api = new AsServerApiPayment.DefaultApi()
var id = 56; // {Integer} 
var opts = {
  'statusUpdateRequest': {"ID":0,"Status":0,"StatusString":"string"} // {StatusUpdateRequest} 
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)
            var statusUpdateRequest = new StatusUpdateRequest(); // StatusUpdateRequest |  (optional) 

            try {
                // Payment_UpdateStatus
                ActionResults result = apiInstance.paymentUpdateStatus(id, statusUpdateRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.paymentUpdateStatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 
$statusUpdateRequest = {"ID":0,"Status":0,"StatusString":"string"}; // StatusUpdateRequest | 

try {
    $result = $api_instance->paymentUpdateStatus($id, $statusUpdateRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->paymentUpdateStatus: ', $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 $id = 56; # Integer | 
my $statusUpdateRequest = WWW::OPenAPIClient::Object::StatusUpdateRequest->new(); # StatusUpdateRequest | 

eval {
    my $result = $api_instance->paymentUpdateStatus(id => $id, statusUpdateRequest => $statusUpdateRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->paymentUpdateStatus: $@\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()
id = 56 # Integer |  (default to null)
statusUpdateRequest = {"ID":0,"Status":0,"StatusString":"string"} # StatusUpdateRequest |  (optional)

try:
    # Payment_UpdateStatus
    api_response = api_instance.payment_update_status(id, statusUpdateRequest=statusUpdateRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->paymentUpdateStatus: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let statusUpdateRequest = {"ID":0,"Status":0,"StatusString":"string"}; // StatusUpdateRequest

    let mut context = DefaultApi::Context::default();
    let result = client.paymentUpdateStatus(id, statusUpdateRequest, &context).wait();

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Body parameters
Name Description
statusUpdateRequest

Responses