POST api/start-payment

Request Information

URI Parameters

None.

Body Parameters

StartPaymentParams
NameDescriptionTypeAdditional information
DeviceId

string

None.

ComId

string

None.

TransId

integer

None.

CustomerId

integer

None.

CustomerName

string

None.

Services

Collection of tbServiceItem

None.

Techs

Collection of tbTechItem

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,
  "CustomerId": 4,
  "CustomerName": "sample string 5",
  "Services": [
    {
      "ServiceId": 1,
      "Quantity": 2,
      "Price": 3.1,
      "TechId": 4
    },
    {
      "ServiceId": 1,
      "Quantity": 2,
      "Price": 3.1,
      "TechId": 4
    }
  ],
  "Techs": [
    {
      "TechId": 1,
      "pDiscount": 2.1,
      "sDiscount": 3.1
    },
    {
      "TechId": 1,
      "pDiscount": 2.1,
      "sDiscount": 3.1
    }
  ],
  "ConvenienceFeeType": 64,
  "ConvenienceFeeValue": 7.1,
  "FeeRoundToDollars": true
}

multipart/form-data

Sample:
{"DeviceId":"sample string 1","ComId":"sample string 2","TransId":3,"CustomerId":4,"CustomerName":"sample string 5","Services":[{"ServiceId":1,"Quantity":2,"Price":3.1,"TechId":4},{"ServiceId":1,"Quantity":2,"Price":3.1,"TechId":4}],"Techs":[{"TechId":1,"pDiscount":2.1,"sDiscount":3.1},{"TechId":1,"pDiscount":2.1,"sDiscount":3.1}],"ConvenienceFeeType":64,"ConvenienceFeeValue":7.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:
{}