POST api/V2?_SpotSubLetByID={_SpotSubLetByID}&_UserSPotLeaseID={_UserSPotLeaseID}&_amount={_amount}&_nonce={_nonce}&_UserID={_UserID}&ByAdmin={ByAdmin}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
_SpotSubLetByID

integer

Required

_UserSPotLeaseID

integer

Required

_amount

decimal number

Required

_nonce

string

Required

_UserID

integer

Required

ByAdmin

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

PaymentResponse
NameDescriptionTypeAdditional information
PaymentKey

string

None.

ErrorDescription

string

None.

ErrorDescription2

string

None.

PaymentStatus

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"
}

application/xml, text/xml

Sample:
<PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models">
  <ErrorDescription>sample string 2</ErrorDescription>
  <ErrorDescription2>sample string 3</ErrorDescription2>
  <PaymentKey>sample string 1</PaymentKey>
  <PaymentStatus>sample string 4</PaymentStatus>
</PaymentResponse>