Paypal API,Curl 请求,获取客户订单列表
Paypal API, Curl request, get list of orders of customers
需要一个 Curl 命令可以得到 transaction_id 在 两个日期 [=22= 之间的所有 transaction_id ].
例子:
curl -v -X GET https://api-m.sandbox.paypal.com/v1/reporting/transactions?start_date=2021-12-01T00:00:00-0700&end_date=2021-12-30T23:59:59-0700&transaction_id=XXXXXXXXXXXXX&fields=all&page_size=100&page=1 \
-H "Content-Type: application/json" \
-H "Authorization: Bearer %token%"
但没有 transaction_id.
Remove &transaction_id=XXXXXXXXXXXXX from your API call
需要一个 Curl 命令可以得到 transaction_id 在 两个日期 [=22= 之间的所有 transaction_id ].
例子:
curl -v -X GET https://api-m.sandbox.paypal.com/v1/reporting/transactions?start_date=2021-12-01T00:00:00-0700&end_date=2021-12-30T23:59:59-0700&transaction_id=XXXXXXXXXXXXX&fields=all&page_size=100&page=1 \
-H "Content-Type: application/json" \
-H "Authorization: Bearer %token%"
但没有 transaction_id.
Remove &transaction_id=XXXXXXXXXXXXX from your API call