GET api/payments/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
payment| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| paymentjson | string |
None. |
|
| paymentdate | date |
None. |
|
| amount | decimal number |
None. |
|
| username | string |
None. |
|
| deviceid | string |
String length: inclusive between 0 and 500 |
|
| package | string |
String length: inclusive between 0 and 100 |
|
| store | string |
String length: inclusive between 0 and 50 |
|
| issubscribe | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"paymentjson": "sample string 2",
"paymentdate": "2025-12-19T08:51:06.3349969+04:00",
"amount": 1.0,
"username": "sample string 3",
"deviceid": "sample string 4",
"package": "sample string 5",
"store": "sample string 6",
"issubscribe": true
}
application/xml, text/xml
Sample:
<payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DreamApp.Models"> <amount>1</amount> <deviceid>sample string 4</deviceid> <id>1</id> <issubscribe>true</issubscribe> <package>sample string 5</package> <paymentdate>2025-12-19T08:51:06.3349969+04:00</paymentdate> <paymentjson>sample string 2</paymentjson> <store>sample string 6</store> <username>sample string 3</username> </payment>