POST api2/payments

Request Information

URI Parameters

None.

Body Parameters

payment
NameDescriptionTypeAdditional 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.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "paymentjson": "sample string 2",
  "paymentdate": "2025-12-19T08:43:30.5915194+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:43:30.5915194+04:00</paymentdate>
  <paymentjson>sample string 2</paymentjson>
  <store>sample string 6</store>
  <username>sample string 3</username>
</payment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

payment
NameDescriptionTypeAdditional 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:43:30.5925203+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:43:30.5925203+04:00</paymentdate>
  <paymentjson>sample string 2</paymentjson>
  <store>sample string 6</store>
  <username>sample string 3</username>
</payment>