Как автоматически получать CSV завершенных платежей PayPal каждый месяц? - PullRequest
0 голосов
/ 31 марта 2019

Мы можем загрузить CSV из PayPal Completed Payments для определенного диапазона дат, вручную перейдя к https://business.paypal.com/merchantdata/reportHome?reportType=DLOG и выполнив:

enter image description here

Но как получить это автоматически (с помощью API?) Каждый месяц, без необходимости вручную переходить на веб-сайт?

Существует ли API, который может инициировать загрузкуCSV транзакций в почти таком же формате этой https://business.paypal.com/merchantdata/reportHome?reportType=DLOG страницы?

Примечание:

Пример желаемого вывода:

"Date","Time","TimeZone","Name","Type","Status","Currency","Gross","Fee","Net","From Email Address","To Email Address","Transaction ID","Shipping Address","Address Status","Item Title","Item ID","Shipping and Handling Amount","Insurance Amount","Sales Tax","Option 1 Name","Option 1 Value","Option 2 Name","Option 2 Value","Reference Txn ID","Invoice Number","Custom Number","Quantity","Receipt ID","Balance","Address Line 1","Address Line 2/District/Neighborhood","Town/City","State/Province/Region/County/Territory/Prefecture/Republic","Zip/Postal Code","Country","Contact Phone Number","Subject","Note","Country Code","Balance Impact"
"3/1/2018","04:52:07","CET","John Doe","Website Payment","Completed","EUR","100.00","0","100","johndoe@gmail.com","contact@example.com",...
"3/1/2018","16:29:30","CET","Mike Abcd","Website Payment","Completed","EUR","100.00","0","100","mikeabc@example.com","contact@example.com",...
...