POST api/Payment
Request Information
URI Parameters
None.
Body Parameters
Payment| Name | Description | Type | Additional information |
|---|---|---|---|
| squareId | string |
None. |
|
| appointmentId | string |
None. |
|
| status | integer |
None. |
|
| amount | string |
None. |
|
| createdAt | date |
None. |
|
| updatedAt | date |
None. |
|
| PaymentType | integer |
None. |
|
| recieptNo | string |
None. |
|
| recieptUrl | string |
None. |
|
| recievedBy | string |
None. |
|
| discountName | string |
None. |
|
| discountType | integer |
None. |
|
| discountAmount | decimal number |
None. |
|
| isTipped | integer |
None. |
|
| tipAmount | decimal number |
None. |
|
| DiscountId | integer |
None. |
|
| Appointment | Appointment |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |