POST api/Kiosk/AdaugaPlataMobilpay/{codFiscal}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| codFiscal | string |
Required |
Body Parameters
Pay| Name | Description | Type | Additional information |
|---|---|---|---|
| CNPCUI | string |
None. |
|
| Description | string |
None. |
|
| Payments | Collection of Linie |
None. |
Request Formats
application/json, text/json
Sample:
{
"CNPCUI": "sample string 1",
"Description": "sample string 2",
"Payments": [
{
"Tax": 1,
"Value": 2.0
},
{
"Tax": 1,
"Value": 2.0
}
]
}
application/xml, text/xml
Sample:
<MobilPay.Pay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiGeneralTNT.Models.Taxe">
<CNPCUI>sample string 1</CNPCUI>
<Description>sample string 2</Description>
<Payments>
<MobilPay.Linie>
<Tax>1</Tax>
<Value>2</Value>
</MobilPay.Linie>
<MobilPay.Linie>
<Tax>1</Tax>
<Value>2</Value>
</MobilPay.Linie>
</Payments>
</MobilPay.Pay>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UrlForPay| Name | Description | Type | Additional information |
|---|---|---|---|
| UrlForPayMobilPayWallet | string |
None. |
|
| UrlForPayMobilPayCard | string |
None. |
|
| Value | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"UrlForPayMobilPayWallet": "sample string 1",
"UrlForPayMobilPayCard": "sample string 2",
"Value": 3.0
}
application/xml, text/xml
Sample:
<MobilPay.UrlForPay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiGeneralTNT.Models.Taxe"> <UrlForPayMobilPayCard>sample string 2</UrlForPayMobilPayCard> <UrlForPayMobilPayWallet>sample string 1</UrlForPayMobilPayWallet> <Value>3</Value> </MobilPay.UrlForPay>