POST api/V2?_UserFleetPaymentID={_UserFleetPaymentID}&_amount={_amount}&_BraintreeCustomerID={_BraintreeCustomerID}&_UserID={_UserID}&_ParkingLotID={_ParkingLotID}&_ParkingSpotID={_ParkingSpotID}&_SpotSubLetByID={_SpotSubLetByID}&_ByAdmin={_ByAdmin}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| _UserFleetPaymentID | integer |
Required |
|
| _amount | decimal number |
Required |
|
| _BraintreeCustomerID | string |
Required |
|
| _UserID | integer |
Required |
|
| _ParkingLotID | integer |
Required |
|
| _ParkingSpotID | integer |
Required |
|
| _SpotSubLetByID | integer |
Required |
|
| _ByAdmin | 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>