POST InitiatePayment
Request Information
URI Parameters
None.
Body Parameters
PaymentRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| ProductInfo | string |
None. |
|
| FirstName | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.0,
"ProductInfo": "sample string 2",
"FirstName": "sample string 3",
"Email": "sample string 4",
"Phone": "sample string 5"
}
application/xml, text/xml
Sample:
<HelperAPIController.PaymentRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RayHopeAPII.Controllers.APIs"> <Amount>1</Amount> <Email>sample string 4</Email> <FirstName>sample string 3</FirstName> <Phone>sample string 5</Phone> <ProductInfo>sample string 2</ProductInfo> </HelperAPIController.PaymentRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.