POST api/finish-payment

Request Information

URI Parameters

None.

Body Parameters

FinishPaymentParams
NameDescriptionTypeAdditional information
DeviceId

string

None.

ComId

string

None.

TransId

integer

None.

payments

Collection of tbPayment

None.

Tip

decimal number

None.

chargecardpayments

Collection of ChargeCardPayment

None.

ConvenienceFeeType

byte

None.

ConvenienceFeeValue

decimal number

None.

FeeRoundToDollars

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceId": "sample string 1",
  "ComId": "sample string 2",
  "TransId": 3,
  "payments": [
    {
      "PaymentType": "sample string 1",
      "AmountPay": 2.1,
      "ExtraInfo": "sample string 3"
    },
    {
      "PaymentType": "sample string 1",
      "AmountPay": 2.1,
      "ExtraInfo": "sample string 3"
    }
  ],
  "Tip": 1.1,
  "chargecardpayments": [
    {
      "cctrxtype": "sample string 1",
      "entrymethod": "sample string 2",
      "cardinfo": "sample string 3",
      "cardtype": "sample string 4",
      "txamount": 5.1,
      "approvalcode": "sample string 6",
      "RealPaid": 7.1,
      "refNum": 8,
      "cardholder": "sample string 9",
      "IpAddress": "sample string 10"
    },
    {
      "cctrxtype": "sample string 1",
      "entrymethod": "sample string 2",
      "cardinfo": "sample string 3",
      "cardtype": "sample string 4",
      "txamount": 5.1,
      "approvalcode": "sample string 6",
      "RealPaid": 7.1,
      "refNum": 8,
      "cardholder": "sample string 9",
      "IpAddress": "sample string 10"
    }
  ],
  "ConvenienceFeeType": 64,
  "ConvenienceFeeValue": 5.1,
  "FeeRoundToDollars": true
}

multipart/form-data

Sample:
{"DeviceId":"sample string 1","ComId":"sample string 2","TransId":3,"payments":[{"PaymentType":"sample string 1","AmountPay":2.1,"ExtraInfo":"sample string 3"},{"PaymentType":"sample string 1","AmountPay":2.1,"ExtraInfo":"sample string 3"}],"Tip":1.1,"chargecardpayments":[{"cctrxtype":"sample string 1","entrymethod":"sample string 2","cardinfo":"sample string 3","cardtype":"sample string 4","txamount":5.1,"approvalcode":"sample string 6","RealPaid":7.1,"refNum":8,"cardholder":"sample string 9","IpAddress":"sample string 10"},{"cctrxtype":"sample string 1","entrymethod":"sample string 2","cardinfo":"sample string 3","cardtype":"sample string 4","txamount":5.1,"approvalcode":"sample string 6","RealPaid":7.1,"refNum":8,"cardholder":"sample string 9","IpAddress":"sample string 10"}],"ConvenienceFeeType":64,"ConvenienceFeeValue":5.1,"FeeRoundToDollars":true}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, multipart/form-data

Sample:
{}