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/CustomerStatements/invoice/payment" \
-d '{
"Token" : "Token",
"POSTerminalShiftID" : 5,
"CustomerID" : 4,
"POSDeviceID" : "POSDeviceID",
"SurchargeAmount" : 4.652396432933246,
"DateTime" : "2000-01-23T04:56:07.000+00:00",
"PaymentDateTime_offset" : 1,
"ReceiptID" : "ReceiptID",
"SyncLogs" : [ {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"BSID" : "BSID",
"Details" : "Details",
"SyncCode" : "SyncCode",
"LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
"LastModifiedDateTime_offset" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
}, {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"BSID" : "BSID",
"Details" : "Details",
"SyncCode" : "SyncCode",
"LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
"LastModifiedDateTime_offset" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
} ],
"Currency" : "Currency",
"PaymentDeviceID" : "PaymentDeviceID",
"ID" : 9,
"CreditCardLastFour" : "CreditCardLastFour",
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"PaymentLogs" : [ {
"Description" : "Description",
"Message" : "Message",
"LogDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"ID" : 6,
"LogDateTime_offset" : 0,
"PaymentStatus3rdParty" : "PaymentStatus3rdParty",
"Code" : "Code",
"PaymentStatus" : "PaymentStatus"
}, {
"Description" : "Description",
"Message" : "Message",
"LogDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"ID" : 6,
"LogDateTime_offset" : 0,
"PaymentStatus3rdParty" : "PaymentStatus3rdParty",
"Code" : "Code",
"PaymentStatus" : "PaymentStatus"
} ],
"SupplierRefNumber" : "SupplierRefNumber",
"PaymentGroupRefNumber" : "PaymentGroupRefNumber",
"DatTypeID" : 5,
"Method" : "Method",
"IsRefund" : true,
"BSID" : "BSID",
"SettlementDate" : "2000-01-23T04:56:07.000+00:00",
"AccountCustomerName" : "AccountCustomerName",
"PayerFeeDescription" : "PayerFeeDescription",
"PaymentServiceTerminalID" : "PaymentServiceTerminalID",
"IsPaid" : true,
"AccountCustomerRefNumber" : "AccountCustomerRefNumber",
"AmountString" : "AmountString",
"RefBusTrans" : [ {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
}, {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
} ],
"Description" : "Description",
"SupplierBSID" : "SupplierBSID",
"MCPPaymentTriggerID" : "MCPPaymentTriggerID",
"CustomerBSID" : "CustomerBSID",
"BatchBSID" : "BatchBSID",
"PaymentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"PaymentServiceMerchantID" : "PaymentServiceMerchantID",
"AmountTendered" : 7.386281948385884,
"Amount" : 2.027123023002322,
"Fee" : 4.145608029883936,
"InvoicePaymentID" : 9,
"MerchantID" : "MerchantID",
"TerminalID" : "TerminalID",
"ErrorMessage" : "ErrorMessage",
"IsManuallyAllocated" : true,
"SupplierGUIDstring" : "SupplierGUIDstring",
"FeeString" : "FeeString",
"GUIDstring" : "GUIDstring",
"SupplierID" : 9,
"CustomerRefNumber" : "CustomerRefNumber",
"BankAccountCode" : "BankAccountCode",
"Version" : 6.027456183070403,
"StatusDescription" : "StatusDescription",
"IsManualSettlementDate" : true,
"AccountCode" : "AccountCode",
"CreatedWith" : "CreatedWith",
"AccountCustomerID" : 5,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"IsBatched" : true,
"AccountCustomerStatementPeriodID" : 5,
"TerminalType" : "TerminalType",
"MethodID" : 3,
"RepUserName" : "RepUserName",
"CashOut" : 1.0246457001441578,
"CustomerGUIDstring" : "CustomerGUIDstring",
"IsAccountCustomer" : true,
"AccountBSID" : "AccountBSID",
"IsLoyaltyPointsToggleOn" : true,
"Balance" : 6.683562403749608,
"InvoicePaymentAllocations" : [ {
"Status" : "Status",
"AccountCustomerRefNumber" : "AccountCustomerRefNumber",
"IsUpcomingPayment" : true,
"PaymentRefNumber" : "PaymentRefNumber",
"CustomerBSID" : "CustomerBSID",
"Amount" : 7.740351818741173,
"RefNumber" : "RefNumber",
"ScheduledDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"ClaimRequestTotalAmount" : 3.0205796992916243,
"AccountCustomerBSID" : "AccountCustomerBSID",
"Invoices" : [ {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
}, {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
} ],
"CustomerID" : 3,
"CreditNotes" : [ {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
}, {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
} ],
"GUIDstring" : "GUIDstring",
"BSID" : "BSID",
"CustomerRefNumber" : "CustomerRefNumber",
"AccountCustomerName" : "AccountCustomerName",
"PaymentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"SyncLogs" : [ {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"BSID" : "BSID",
"Details" : "Details",
"SyncCode" : "SyncCode",
"LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
"LastModifiedDateTime_offset" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
}, {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"BSID" : "BSID",
"Details" : "Details",
"SyncCode" : "SyncCode",
"LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
"LastModifiedDateTime_offset" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
} ],
"Currency" : "Currency",
"PaymentAllocationDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"ID" : 8,
"CustomerName" : "CustomerName",
"AccountCustomerID" : 7
}, {
"Status" : "Status",
"AccountCustomerRefNumber" : "AccountCustomerRefNumber",
"IsUpcomingPayment" : true,
"PaymentRefNumber" : "PaymentRefNumber",
"CustomerBSID" : "CustomerBSID",
"Amount" : 7.740351818741173,
"RefNumber" : "RefNumber",
"ScheduledDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"ClaimRequestTotalAmount" : 3.0205796992916243,
"AccountCustomerBSID" : "AccountCustomerBSID",
"Invoices" : [ {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
}, {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
} ],
"CustomerID" : 3,
"CreditNotes" : [ {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
}, {
"AppliedAmountString" : "AppliedAmountString",
"AmountString" : "AmountString",
"ClaimDescription" : "ClaimDescription",
"TransType" : "TransType",
"GUIDstring" : "GUIDstring",
"MerchantSurcharge" : 2.8841621266687802,
"ID" : 9,
"AppliedCredit" : 5.944895607614016,
"Status" : "Status",
"AppliedDate" : "2000-01-23T04:56:07.000+00:00",
"Amount" : 6.438423552598547,
"RefNumber" : "RefNumber",
"GUID" : "00000000-0000-0000-0000-000000000000",
"AppliedAmount" : 6.965117697638846,
"TotalInc" : 8.762042012749001,
"AppliedTransID" : 6,
"ClaimRequestID" : 6,
"AppliedDateString" : "AppliedDateString",
"TransSubType" : "TransSubType",
"TransTypeID" : 3,
"BSID" : "BSID",
"Summary" : "Summary",
"MerchantSurchargeLineID" : 6,
"Balance" : 1.284659006116532,
"IsEarlyClaimShortPayment" : true
} ],
"GUIDstring" : "GUIDstring",
"BSID" : "BSID",
"CustomerRefNumber" : "CustomerRefNumber",
"AccountCustomerName" : "AccountCustomerName",
"PaymentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"SyncLogs" : [ {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"BSID" : "BSID",
"Details" : "Details",
"SyncCode" : "SyncCode",
"LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
"LastModifiedDateTime_offset" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
}, {
"Status" : "Status",
"LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
"AdaptorID" : 3,
"LastImportDateTime_offset" : 7,
"LastExportDateTime_offset" : 0,
"LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"BSID" : "BSID",
"Details" : "Details",
"SyncCode" : "SyncCode",
"LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
"LastModifiedDateTime_offset" : 7,
"ID" : 3,
"LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
} ],
"Currency" : "Currency",
"PaymentAllocationDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
"ID" : 8,
"CustomerName" : "CustomerName",
"AccountCustomerID" : 7
} ],
"StatementEndDate" : "2000-01-23T04:56:07.000+00:00",
"MerchantFeeAmount" : 2.3021358869347655,
"DocID" : 1,
"TransactionType" : "TransactionType",
"ExchangeRate" : 7.457744773683766,
"StatementStartDate" : "2000-01-23T04:56:07.000+00:00",
"SurchageDescription" : "SurchageDescription",
"RepEmailAddress" : "RepEmailAddress",
"IsActive" : true,
"AmountTenderedString" : "AmountTenderedString",
"DateTimeString" : "DateTimeString",
"MerchantFeeDescription" : "MerchantFeeDescription",
"PaymentUserFullName" : "PaymentUserFullName",
"MCTrackTransactionID" : "MCTrackTransactionID",
"IsRefunded" : true,
"RepLastName" : "RepLastName",
"PaymentType" : "PaymentType",
"CustomerName" : "CustomerName",
"PaymentService" : "PaymentService",
"AppliedAmount" : 1.1730742509559433,
"IsGiftCard" : true,
"MCPTransactionID" : "MCPTransactionID",
"CreditCard" : {
"CardNumber" : "CardNumber",
"CardToken" : "CardToken",
"ExpiryMMYY" : "ExpiryMMYY",
"FriendlyName" : "FriendlyName",
"CardType" : "CardType",
"CardHolderName" : "CardHolderName",
"CardVerificationNumber" : "CardVerificationNumber"
},
"PaymentUserID" : 7,
"RowNumber" : 0,
"ChangeGivenString" : "ChangeGivenString",
"SupplierName" : "SupplierName",
"DateString" : "DateString",
"ChangeGiven" : 1.2315135367772556,
"TransRefNumber" : "TransRefNumber",
"ChequeNumber" : "ChequeNumber",
"PaymentAccountGUIDstring" : "PaymentAccountGUIDstring",
"RepFirstName" : "RepFirstName",
"TransactionTypeDatTypeID" : 6
}' \
-d 'Custom MIME type example not yet supported: text/json' \
-d '<PaymentT>
<RowNumber>123456789</RowNumber>
<Version>3.149</Version>
<GUID>00000000-0000-0000-0000-000000000000</GUID>
<AmountString>aeiou</AmountString>
<AmountTenderedString>aeiou</AmountTenderedString>
<ChangeGivenString>aeiou</ChangeGivenString>
<DateTimeString>aeiou</DateTimeString>
<DateString>aeiou</DateString>
<DocID>123</DocID>
<DatTypeID>123</DatTypeID>
<ErrorMessage>aeiou</ErrorMessage>
<FeeString>aeiou</FeeString>
<IsGiftCard>true</IsGiftCard>
<IsPaid>true</IsPaid>
<POSTerminalShiftID>123</POSTerminalShiftID>
<POSDeviceID>aeiou</POSDeviceID>
<AccountCustomerRefNumber>aeiou</AccountCustomerRefNumber>
<PaymentDeviceID>aeiou</PaymentDeviceID>
<MerchantID>aeiou</MerchantID>
<TerminalType>aeiou</TerminalType>
<SettlementDate>2000-01-23T04:56:07.000Z</SettlementDate>
<IsManualSettlementDate>true</IsManualSettlementDate>
<IsBatched>true</IsBatched>
<StatusDescription>aeiou</StatusDescription>
<PaymentGroupRefNumber>aeiou</PaymentGroupRefNumber>
<IsLoyaltyPointsToggleOn>true</IsLoyaltyPointsToggleOn>
<MerchantFeeAmount>3.149</MerchantFeeAmount>
<MerchantFeeDescription>aeiou</MerchantFeeDescription>
<MCPPaymentTriggerID>aeiou</MCPPaymentTriggerID>
<MCTrackTransactionID>aeiou</MCTrackTransactionID>
<MCPTransactionID>aeiou</MCPTransactionID>
<CreditCardLastFour>aeiou</CreditCardLastFour>
<PaymentUserID>123</PaymentUserID>
<PaymentUserFullName>aeiou</PaymentUserFullName>
<ID>123</ID>
<GUIDstring>aeiou</GUIDstring>
<BSID>aeiou</BSID>
<MethodID>123</MethodID>
<Method>aeiou</Method>
<Currency>aeiou</Currency>
<Amount>3.149</Amount>
<Fee>3.149</Fee>
<AmountTendered>3.149</AmountTendered>
<ChangeGiven>3.149</ChangeGiven>
<CashOut>3.149</CashOut>
<DateTime>2000-01-23T04:56:07.000Z</DateTime>
<PaymentDateTime_utc>2000-01-23T04:56:07.000Z</PaymentDateTime_utc>
<PaymentDateTime_offset>123</PaymentDateTime_offset>
<Status>aeiou</Status>
<Token>aeiou</Token>
<RefNumber>aeiou</RefNumber>
<TransRefNumber>aeiou</TransRefNumber>
<TransactionType>aeiou</TransactionType>
<TransactionTypeDatTypeID>123</TransactionTypeDatTypeID>
<ReceiptID>aeiou</ReceiptID>
<ChequeNumber>aeiou</ChequeNumber>
<AccountCode>aeiou</AccountCode>
<BankAccountCode>aeiou</BankAccountCode>
<ExchangeRate>3.149</ExchangeRate>
<AppliedAmount>3.149</AppliedAmount>
<AppliedDate>2000-01-23T04:56:07.000Z</AppliedDate>
<CustomerID>123</CustomerID>
<CustomerGUIDstring>aeiou</CustomerGUIDstring>
<CustomerName>aeiou</CustomerName>
<CustomerBSID>aeiou</CustomerBSID>
<CustomerRefNumber>aeiou</CustomerRefNumber>
<AccountCustomerID>123</AccountCustomerID>
<AccountCustomerName>aeiou</AccountCustomerName>
<IsAccountCustomer>true</IsAccountCustomer>
<SupplierID>123</SupplierID>
<SupplierGUIDstring>aeiou</SupplierGUIDstring>
<SupplierName>aeiou</SupplierName>
<SupplierBSID>aeiou</SupplierBSID>
<SupplierRefNumber>aeiou</SupplierRefNumber>
<IsActive>true</IsActive>
<IsRefund>true</IsRefund>
<IsRefunded>true</IsRefunded>
<InvoicePaymentID>123</InvoicePaymentID>
<RepFirstName>aeiou</RepFirstName>
<RepLastName>aeiou</RepLastName>
<RepEmailAddress>aeiou</RepEmailAddress>
<RepUserName>aeiou</RepUserName>
<CreatedWith>aeiou</CreatedWith>
<Balance>3.149</Balance>
<IsManuallyAllocated>true</IsManuallyAllocated>
<TerminalID>aeiou</TerminalID>
<null>
<AmountString>aeiou</AmountString>
<AppliedAmountString>aeiou</AppliedAmountString>
<AppliedDateString>aeiou</AppliedDateString>
<Summary>aeiou</Summary>
<GUID>00000000-0000-0000-0000-000000000000</GUID>
<Status>aeiou</Status>
<TotalInc>3.149</TotalInc>
<ID>123</ID>
<GUIDstring>aeiou</GUIDstring>
<BSID>aeiou</BSID>
<Amount>3.149</Amount>
<TransTypeID>123</TransTypeID>
<TransType>aeiou</TransType>
<RefNumber>aeiou</RefNumber>
<AppliedDate>2000-01-23T04:56:07.000Z</AppliedDate>
<AppliedAmount>3.149</AppliedAmount>
<Balance>3.149</Balance>
<MerchantSurcharge>3.149</MerchantSurcharge>
<MerchantSurchargeLineID>123</MerchantSurchargeLineID>
<TransSubType>aeiou</TransSubType>
<AppliedTransID>123</AppliedTransID>
<AppliedCredit>3.149</AppliedCredit>
<ClaimRequestID>123</ClaimRequestID>
<ClaimDescription>aeiou</ClaimDescription>
<IsEarlyClaimShortPayment>true</IsEarlyClaimShortPayment>
</null>
<null>
<LastImportDateTime>2000-01-23T04:56:07.000Z</LastImportDateTime>
<LastExportDateTime>2000-01-23T04:56:07.000Z</LastExportDateTime>
<ID>123</ID>
<AdaptorID>123</AdaptorID>
<BSID>aeiou</BSID>
<LastImportDateTime_utc>2000-01-23T04:56:07.000Z</LastImportDateTime_utc>
<LastImportDateTime_offset>123</LastImportDateTime_offset>
<Status>aeiou</Status>
<Details>aeiou</Details>
<LastExportDateTime_utc>2000-01-23T04:56:07.000Z</LastExportDateTime_utc>
<LastExportDateTime_offset>123</LastExportDateTime_offset>
<SyncCode>aeiou</SyncCode>
<LastModifiedDateTime_utc>2000-01-23T04:56:07.000Z</LastModifiedDateTime_utc>
<LastModifiedDateTime_offset>123</LastModifiedDateTime_offset>
</null>
<null>
<CardType>aeiou</CardType>
<CardNumber>aeiou</CardNumber>
<CardHolderName>aeiou</CardHolderName>
<ExpiryMMYY>aeiou</ExpiryMMYY>
<CardVerificationNumber>aeiou</CardVerificationNumber>
<FriendlyName>aeiou</FriendlyName>
<CardToken>aeiou</CardToken>
</null>
<null>
<ID>123</ID>
<Code>aeiou</Code>
<Message>aeiou</Message>
<Description>aeiou</Description>
<LogDateTime_utc>2000-01-23T04:56:07.000Z</LogDateTime_utc>
<LogDateTime_offset>123</LogDateTime_offset>
<PaymentStatus>aeiou</PaymentStatus>
<PaymentStatus3rdParty>aeiou</PaymentStatus3rdParty>
</null>
<PaymentService>aeiou</PaymentService>
<PayerFeeDescription>aeiou</PayerFeeDescription>
<PaymentServiceMerchantID>aeiou</PaymentServiceMerchantID>
<PaymentServiceTerminalID>aeiou</PaymentServiceTerminalID>
<PaymentAccountGUIDstring>aeiou</PaymentAccountGUIDstring>
<PaymentType>aeiou</PaymentType>
<SurchargeAmount>3.149</SurchargeAmount>
<SurchageDescription>aeiou</SurchageDescription>
<BatchBSID>aeiou</BatchBSID>
<null>
<ID>123</ID>
<GUIDstring>aeiou</GUIDstring>
<BSID>aeiou</BSID>
<Currency>aeiou</Currency>
<Amount>3.149</Amount>
<ClaimRequestTotalAmount>3.149</ClaimRequestTotalAmount>
<PaymentAllocationDateTime_utc>2000-01-23T04:56:07.000Z</PaymentAllocationDateTime_utc>
<Status>aeiou</Status>
<RefNumber>aeiou</RefNumber>
<PaymentRefNumber>aeiou</PaymentRefNumber>
<CustomerID>123</CustomerID>
<CustomerName>aeiou</CustomerName>
<CustomerBSID>aeiou</CustomerBSID>
<CustomerRefNumber>aeiou</CustomerRefNumber>
<AccountCustomerID>123</AccountCustomerID>
<AccountCustomerName>aeiou</AccountCustomerName>
<AccountCustomerBSID>aeiou</AccountCustomerBSID>
<AccountCustomerRefNumber>aeiou</AccountCustomerRefNumber>
<ScheduledDateTime_utc>2000-01-23T04:56:07.000Z</ScheduledDateTime_utc>
<PaymentDateTime_utc>2000-01-23T04:56:07.000Z</PaymentDateTime_utc>
<IsUpcomingPayment>true</IsUpcomingPayment>
</null>
<AccountCustomerStatementPeriodID>123</AccountCustomerStatementPeriodID>
<StatementStartDate>2000-01-23T04:56:07.000Z</StatementStartDate>
<StatementEndDate>2000-01-23T04:56:07.000Z</StatementEndDate>
<AccountBSID>aeiou</AccountBSID>
<Description>aeiou</Description>
</PaymentT>' \
-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();
PaymentT paymentT = {"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"}; // PaymentT |
try {
SynkSaveQueueResponse_PaymentT_ result = apiInstance.customerStatementsProcessPayment(paymentT);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#customerStatementsProcessPayment");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final PaymentT paymentT = new PaymentT(); // PaymentT |
try {
final result = await api_instance.customerStatementsProcessPayment(paymentT);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->customerStatementsProcessPayment: $e\n');
}
import org.openapitools.client.api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
PaymentT paymentT = {"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"}; // PaymentT |
try {
SynkSaveQueueResponse_PaymentT_ result = apiInstance.customerStatementsProcessPayment(paymentT);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#customerStatementsProcessPayment");
e.printStackTrace();
}
}
}
// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
PaymentT *paymentT = {"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"}; // (optional)
// CustomerStatements_ProcessPayment
[apiInstance customerStatementsProcessPaymentWith:paymentT
completionHandler: ^(SynkSaveQueueResponse_PaymentT_ output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var AsServerApiCustomerStatements = require('as_server_api_customer_statements');
// Create an instance of the API class
var api = new AsServerApiCustomerStatements.DefaultApi()
var opts = {
'paymentT': {"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"} // {PaymentT}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.customerStatementsProcessPayment(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class customerStatementsProcessPaymentExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new DefaultApi();
var paymentT = new PaymentT(); // PaymentT | (optional)
try {
// CustomerStatements_ProcessPayment
SynkSaveQueueResponse_PaymentT_ result = apiInstance.customerStatementsProcessPayment(paymentT);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling DefaultApi.customerStatementsProcessPayment: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$paymentT = {"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"}; // PaymentT |
try {
$result = $api_instance->customerStatementsProcessPayment($paymentT);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->customerStatementsProcessPayment: ', $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 $paymentT = WWW::OPenAPIClient::Object::PaymentT->new(); # PaymentT |
eval {
my $result = $api_instance->customerStatementsProcessPayment(paymentT => $paymentT);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DefaultApi->customerStatementsProcessPayment: $@\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()
paymentT = {"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"} # PaymentT | (optional)
try:
# CustomerStatements_ProcessPayment
api_response = api_instance.customer_statements_process_payment(paymentT=paymentT)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->customerStatementsProcessPayment: %s\n" % e)
extern crate DefaultApi;
pub fn main() {
let paymentT = {"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"}; // PaymentT
let mut context = DefaultApi::Context::default();
let result = client.customerStatementsProcessPayment(paymentT, &context).wait();
println!("{:?}", result);
}