[GET] topUpHistory
/api/driver/topUpHistory
TopUpHistoryRequestDTO
Attributes:
Name | Type | Description |
---|---|---|
start |
Optional[str]
|
start datetime of the transaction in the format of "YYYY-MM-DD HH:MM:SS" |
end |
str
|
end datetime of the transaction in the format of "YYYY-MM-DD HH:MM:SS" |
num_transactions |
int
|
number of transactions to be displayed |
TopUpHistoryResponseDTO
Attributes:
Name | Type | Description |
---|---|---|
top_up_history |
List[TopUpHistoryDTO]
|
list containing top up history objects |
TopUpHistoryDTO
Attributes:
Name | Type | Description |
---|---|---|
ref_num |
str
|
reference number of the transaction |
amount |
float
|
amount of the transaction |
payment_method |
PaymentMethodEnum
|
method used for the transaction |
status |
PaymentHistoryStatusEnum
|
status of the transaction |
created_at |
str
|
unix timestamp of when the transaction was first initiated |
PaymentHistoryStatusEnum
THIS ENUM CONTAINS OUR CUSTOM STATUSES PaymentStatusEnum CONTAINS STATUS FROM PAYMONGO
Attributes:
Name | Type | Description |
---|---|---|
pending |
pending status |
|
paid |
paid status |
|
failed |
failed status |
PaymentMethodEnum
Attributes:
Name | Type | Description |
---|---|---|
CARD |
credit / debit card |
|
GCASH |
GCASH |
|
GRAB_PAY |
GrabPay |
|
MAYA |
PayMaya |
|
WALLET |
wallet |
|
FREE |
null |