POST api/payment/createPaymentLink
Request Information
URI Parameters
None.
Body Parameters
PaymentLinkRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| MerchantTxn | string |
None. |
|
| string |
None. |
||
| Name | string |
None. |
|
| Amount | string |
None. |
|
| Phone | string |
None. |
|
| Udf1 | string |
None. |
|
| Udf2 | string |
None. |
|
| Udf3 | string |
None. |
|
| Udf4 | string |
None. |
|
| Udf5 | string |
None. |
|
| Message | string |
None. |
|
| ExpiryDate | string |
None. |
|
| Operation | Collection of Operation |
None. |
Request Formats
application/json, text/json
Sample:
{
"MerchantTxn": "sample string 1",
"Email": "sample string 2",
"Name": "sample string 3",
"Amount": "sample string 4",
"Phone": "sample string 5",
"Udf1": "sample string 6",
"Udf2": "sample string 7",
"Udf3": "sample string 8",
"Udf4": "sample string 9",
"Udf5": "sample string 10",
"Message": "sample string 11",
"ExpiryDate": "sample string 12",
"Operation": [
{
"Type": "sample string 1",
"Template": "sample string 2"
},
{
"Type": "sample string 1",
"Template": "sample string 2"
}
]
}
text/html
Sample:
{"MerchantTxn":"sample string 1","Email":"sample string 2","Name":"sample string 3","Amount":"sample string 4","Phone":"sample string 5","Udf1":"sample string 6","Udf2":"sample string 7","Udf3":"sample string 8","Udf4":"sample string 9","Udf5":"sample string 10","Message":"sample string 11","ExpiryDate":"sample string 12","Operation":[{"Type":"sample string 1","Template":"sample string 2"},{"Type":"sample string 1","Template":"sample string 2"}]}
application/xml, text/xml
Sample:
<PaymentLinkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegalsNOI.Helper">
<Amount>sample string 4</Amount>
<Email>sample string 2</Email>
<ExpiryDate>sample string 12</ExpiryDate>
<MerchantTxn>sample string 1</MerchantTxn>
<Message>sample string 11</Message>
<Name>sample string 3</Name>
<Operation>
<Operation>
<Template>sample string 2</Template>
<Type>sample string 1</Type>
</Operation>
<Operation>
<Template>sample string 2</Template>
<Type>sample string 1</Type>
</Operation>
</Operation>
<Phone>sample string 5</Phone>
<Udf1>sample string 6</Udf1>
<Udf2>sample string 7</Udf2>
<Udf3>sample string 8</Udf3>
<Udf4>sample string 9</Udf4>
<Udf5>sample string 10</Udf5>
</PaymentLinkRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/comma-separated-values
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml, text/comma-separated-values
Sample:
Sample not available.