diff --git a/v2/pay_service.go b/v2/pay_service.go index 7f070716..66a76e62 100644 --- a/v2/pay_service.go +++ b/v2/pay_service.go @@ -39,10 +39,10 @@ func (s *PayTradeHistoryService) Do(ctx context.Context, opts ...RequestOption) secType: secTypeSigned, } if s.startTimestamp != nil { - r.setParam("startTimestamp", *s.startTimestamp) + r.setParam("startTime", *s.startTimestamp) } if s.endTimestamp != nil { - r.setParam("endTimestamp", *s.endTimestamp) + r.setParam("endTime", *s.endTimestamp) } if s.limit != nil { r.setParam("limit", *s.limit)