Charging Receipt
/api/chargingReceipt
ChargingReceiptRequestDTO
Attributes:
Name | Type | Description |
---|---|---|
transaction_id |
str
|
unique ID of the transaction |
ChargingReceiptResponseDTO
Attributes:
Name | Type | Description |
---|---|---|
charger |
ChargingReceiptChargerDTO
|
charger details |
transaction |
ChargingReceiptTransactionDTO
|
transaction details |
cost |
ChargingReceiptCostingDTO
|
costing breakdown |
refunds |
Optional[ChargingReceiptRefundsDTO]
|
refund details if any |
payment |
ChargingReceiptPaymentDetailsDTO
|
payment details |
ChargingReceiptChargerDTO
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
name of the charger |
connector |
str
|
connector type |
location |
str
|
location of the charger |
ChargingReceiptTransactionDTO
Attributes:
Name | Type | Description |
---|---|---|
id |
str
|
transaction id |
duration |
str
|
duration in standard format HH:MM:SS |
start |
str
|
start time of the transaction in YY-MM-DD HH:MM:SS |
end |
str
|
end time of the transaction in YY-MM-DD HH:MM:SS |
kwh |
float
|
kwh consumed during the transaction |
ChargingReceiptCostingDTO
Attributes:
Name | Type | Description |
---|---|---|
breakdown |
dict
|
costing breakdown |
subtotal |
float
|
subtotal without the vat |
vat |
float
|
value added tax |
discount |
dict
|
discount if available |
total_price |
float
|
sum of all costs |
ChargingReceiptRefundsDTO
Attributes:
Name | Type | Description |
---|---|---|
amount |
float
|
refunded amount in PHP |
status |
str
|
status of the refund process |
datetime |
str
|
time refunded |
ChargingReceiptPaymentDetailsDTO
Attributes:
Name | Type | Description |
---|---|---|
amount |
float
|
price paid in PHP |
method |
Union[str, PaymentMethodEnum]
|
payment method used for the transaction |
PaymentMethodEnum
Attributes:
Name | Type | Description |
---|---|---|
CARD |
credit / debit card |
|
GCASH |
GCASH |
|
GRAB_PAY |
GrabPay |
|
MAYA |
PayMaya |
|
WALLET |
wallet |
|
FREE |
null |