POST api/Payment/CreatePaymentIntent
Request Information
URI Parameters
None.
Body Parameters
PaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| LeadId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Amount": 2.0,
"LeadId": 3
}
application/xml, text/xml
Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOS_N_TOW_API.Models"> <Amount>2</Amount> <LeadId>3</LeadId> <UserId>1</UserId> </PaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
Sample not available.