POST api/Charging/PaymentAuthorize
Request Information
URI Parameters
None.
Body Parameters
KiviCOM.API.Business.Stations.Charging.PaymentAuthorizeRequestInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| CreditCardId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.1,
"CreditCardId": 2
}
text/xml
Sample:
<PaymentAuthorizeRequestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KiviCOM.API.Business.Stations.Charging"> <Amount>1.1</Amount> <CreditCardId>2</CreditCardId> </PaymentAuthorizeRequestInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>