POST api/Payment/CreatePayment
Request Information
URI Parameters
None.
Body Parameters
PaymentInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| Investor_id | string |
None. |
|
| Remark | string |
None. |
|
| Redirection_url | string |
None. |
|
| Request_id | string |
None. |
|
| Token | string |
None. |
|
| IFAID | string |
None. |
|
| IFAKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.1,
"Investor_id": "sample string 2",
"Remark": "sample string 3",
"Redirection_url": "sample string 4",
"Request_id": "sample string 5",
"Token": "sample string 6",
"IFAID": "sample string 7",
"IFAKey": "sample string 8"
}
application/xml, text/xml
Sample:
<PaymentInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LendenWrapper.Models"> <IFAID>sample string 7</IFAID> <IFAKey>sample string 8</IFAKey> <Amount>1.1</Amount> <Investor_id>sample string 2</Investor_id> <Redirection_url>sample string 4</Redirection_url> <Remark>sample string 3</Remark> <Request_id>sample string 5</Request_id> <Token>sample string 6</Token> </PaymentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentOutputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentResponse | PaymentResp |
None. |
|
| message | string |
None. |
|
| PaymentRespError | PaymentRespError |
None. |
|
| Status | string |
None. |
|
| Message | string |
None. |
|
| LCResponse | LCResponse |
None. |
|
| IFAID | string |
None. |
|
| IFAKey | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PaymentResponse": {
"url": "sample string 1",
"payment_reference_id": "sample string 2",
"deep_link": "sample string 3"
},
"message": "sample string 1",
"PaymentRespError": {
"message": "sample string 1",
"error": [
{
"error_code": "sample string 1",
"error_message": "sample string 2"
},
{
"error_code": "sample string 1",
"error_message": "sample string 2"
}
]
},
"Status": "sample string 2",
"Message": "sample string 3",
"LCResponse": {
"code": "sample string 1",
"message": "sample string 2",
"Data": {
"checksum": "sample string 1",
"payload": "sample string 2"
},
"IFAID": "sample string 3",
"IFAKey": "sample string 4"
},
"IFAID": "sample string 4",
"IFAKey": "sample string 5"
}
application/xml, text/xml
Sample:
<PaymentOutputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LendenWrapper.Models">
<IFAID>sample string 4</IFAID>
<IFAKey>sample string 5</IFAKey>
<LCResponse>
<IFAID>sample string 3</IFAID>
<IFAKey>sample string 4</IFAKey>
<Data>
<checksum>sample string 1</checksum>
<payload>sample string 2</payload>
</Data>
<code>sample string 1</code>
<message>sample string 2</message>
</LCResponse>
<Message>sample string 3</Message>
<Status>sample string 2</Status>
<PaymentRespError>
<error>
<PaymentError>
<error_code>sample string 1</error_code>
<error_message>sample string 2</error_message>
</PaymentError>
<PaymentError>
<error_code>sample string 1</error_code>
<error_message>sample string 2</error_message>
</PaymentError>
</error>
<message>sample string 1</message>
</PaymentRespError>
<PaymentResponse>
<deep_link>sample string 3</deep_link>
<payment_reference_id>sample string 2</payment_reference_id>
<url>sample string 1</url>
</PaymentResponse>
<message>sample string 1</message>
</PaymentOutputModel>