POST api/V2?_SpotSubLetByID={_SpotSubLetByID}&_UserSPotLeaseID={_UserSPotLeaseID}&_amount={_amount}&_nonce={_nonce}&_UserID={_UserID}&ByAdmin={ByAdmin}&IsPersonalVehicle={IsPersonalVehicle}&VehicalModel={VehicalModel}&VehicalMake={VehicalMake}&VehicalColor={VehicalColor}&IsPartialPayment={IsPartialPayment}&TotalAmount={TotalAmount}&IsOfflineBooking={IsOfflineBooking}&ToggleEmail={ToggleEmail}&ToggleSms={ToggleSms}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| _SpotSubLetByID | integer |
Required |
|
| _UserSPotLeaseID | integer |
Required |
|
| _amount | decimal number |
Required |
|
| _nonce | string |
Required |
|
| _UserID | integer |
Required |
|
| ByAdmin | boolean |
Default value is False |
|
| IsPersonalVehicle | boolean |
Default value is False |
|
| VehicalModel | string |
Default value is |
|
| VehicalMake | string |
Default value is |
|
| VehicalColor | string |
Default value is |
|
| IsPartialPayment | boolean |
Default value is False |
|
| TotalAmount | decimal number |
Default value is 0 |
|
| IsOfflineBooking | boolean |
Default value is False |
|
| ToggleEmail | boolean |
Default value is False |
|
| ToggleSms | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
PaymentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentKey | string |
None. |
|
| ErrorDescription | string |
None. |
|
| ErrorDescription2 | string |
None. |
|
| PaymentStatus | string |
None. |
|
| CardLastFour | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PaymentKey": "sample string 1",
"ErrorDescription": "sample string 2",
"ErrorDescription2": "sample string 3",
"PaymentStatus": "sample string 4",
"CardLastFour": "sample string 5"
}
application/xml, text/xml
Sample:
<PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models"> <CardLastFour>sample string 5</CardLastFour> <ErrorDescription>sample string 2</ErrorDescription> <ErrorDescription2>sample string 3</ErrorDescription2> <PaymentKey>sample string 1</PaymentKey> <PaymentStatus>sample string 4</PaymentStatus> </PaymentResponse>