POST api/UserPayment/SuccessUserPayment
Request Information
URI Parameters
None.
Body Parameters
PayuOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| WalletAmount | decimal number |
None. |
|
| Currency | string |
None. |
|
| PayuId | string |
None. |
|
| requestId | integer |
None. |
|
| UserId | string |
None. |
|
| GarageId | integer |
None. |
|
| GaragePaymentId | integer |
None. |
|
| TxntId | string |
None. |
|
| Hash | string |
None. |
|
| PaymentMode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.0,
"WalletAmount": 2.0,
"Currency": "sample string 3",
"PayuId": "sample string 4",
"requestId": 5,
"UserId": "sample string 6",
"GarageId": 7,
"GaragePaymentId": 8,
"TxntId": "sample string 9",
"Hash": "sample string 10",
"PaymentMode": "sample string 11"
}
application/xml, text/xml
Sample:
<PayuOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mechon.Models"> <Amount>1</Amount> <Currency>sample string 3</Currency> <GarageId>7</GarageId> <GaragePaymentId>8</GaragePaymentId> <Hash>sample string 10</Hash> <PaymentMode>sample string 11</PaymentMode> <PayuId>sample string 4</PayuId> <TxntId>sample string 9</TxntId> <UserId>sample string 6</UserId> <WalletAmount>2</WalletAmount> <requestId>5</requestId> </PayuOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RazorPayOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| WalletAmount | decimal number |
None. |
|
| Currency | string |
None. |
|
| ReceiptId | string |
None. |
|
| requestId | integer |
None. |
|
| UserId | string |
None. |
|
| GarageId | integer |
None. |
|
| GaragePaymentId | integer |
None. |
|
| RazorpayPaymentId | string |
None. |
|
| RazorpayOrderId | string |
None. |
|
| RazorpaySignature | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Amount": 1.0,
"WalletAmount": 2.0,
"Currency": "sample string 3",
"ReceiptId": "sample string 4",
"requestId": 5,
"UserId": "sample string 6",
"GarageId": 7,
"GaragePaymentId": 8,
"RazorpayPaymentId": "sample string 9",
"RazorpayOrderId": "sample string 10",
"RazorpaySignature": "sample string 11"
}
application/xml, text/xml
Sample:
<RazorPayOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mechon.Models"> <Amount>1</Amount> <Currency>sample string 3</Currency> <GarageId>7</GarageId> <GaragePaymentId>8</GaragePaymentId> <RazorpayOrderId>sample string 10</RazorpayOrderId> <RazorpayPaymentId>sample string 9</RazorpayPaymentId> <RazorpaySignature>sample string 11</RazorpaySignature> <ReceiptId>sample string 4</ReceiptId> <UserId>sample string 6</UserId> <WalletAmount>2</WalletAmount> <requestId>5</requestId> </RazorPayOrder>