Hello, I need to get the Qiwi payment history using the API. Everything is done, except for sorting by time, here I can not understand. It is necessary to receive payments, for today .
The API is written:
startDate
The start date of the statistics period. The date can be specified in any TZD time zone (format YYYY-MM-DD'T'hh: mm: ssTZD), however, it must be the same as the time zone in the endDate parameter. The designation of the time zone TZD: + hh: mm or -hh: mm (time shift from GMT). Required parameter
endDate
The end date of the statistics period. The date can be specified in any TZD time zone (format YYYY-MM-DD'T'hch: mm: ssTZD), however, it must match the time zone in the startDate parameter. The designation of the time zone TZD: + hh: mm or -hh: mm (time shift from GMT). Required parameter
Request example:
GET /payment-history/v2/persons/79112223344/payments?rows=50 &startDate=2017-05-10T00%3A00%3A00%2B03%3A00&endDate=2017-05-10T23%3A59%3A59%2B03%3A00 With this - 2017-05-10 is understandable.
But how is this - to get T00% 3A00% 3A00% 2B03% 3A00 with PHP? There is no detailed information in the documentation.