Page History
...
Пример запроса с минимальным набором параметров:
Code Block | ||
---|---|---|
| ||
{
"merchant":{
"merchant_ID":12345677,
"login":"user",
"password":"password"
},
"billnumber":"123445678899012.1",
"customer":{
"email":"customer@e.mail",
"phone":"1376124761"
},
"cheques":[
{
"chequeid":1,
"type":"sell",
"paymenttype":1,
"chequeitems":[
{
"id":1,
"name":"товар",
"price":3.20,
"quantity":13,
"amount":41.6,
"tax":"vat20",
"fpmode":4
},
{
"id":2,
"name":"услуга",
"price":3.20,
"quantity":13,
"amount":41.6,
"tax":"vat20",
"fpmode":4
}
],
"amount":83.2
},
{
"chequeid":2,
"type":"sell",
"paymenttypes":[
{
"paymenttype":1,
"amount":20
},
{
"paymenttype":21,
"amount":21.6
}
],
"chequeitems":[
{
"id":1,
"name":"товар",
"price":3.20,
"quantity":13,
"amount":41.6,
"tax":"vat20",
"fpmode":4
}
],
"amount":41.6
}
]
} |