POST api/save-when-click-payment
Request Information
URI Parameters
None.
Body Parameters
StartPaymentParamsV2| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"TransId": 1,
"CustomerId": 2,
"CustomerName": "sample string 3",
"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": 5.1,
"FeeRoundToDollars": true
}
multipart/form-data
Sample:
{"TransId":1,"CustomerId":2,"CustomerName":"sample string 3","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":5.1,"FeeRoundToDollars":true}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
{}