我称之为Sync API:
url = 'https://api.sandbox.paypal.com/v1/reporting/transactions?start_date=2018-01-02&end_date=2018-02-02'
并返回以下错误:
{"name":"INVALID_REQUEST","debug_id":"f1274e478292e","message":"Invalid request - see details.","details":[{"field":"start_date","value":"2018-01-02","location":"query","issue":"Invalid date passed"}]}
start_date的正确格式是什么?
答案 0 :(得分:0)
它应采用以下格式:
2018-02-01T00:00:00Z
然后就可以了。