cancel
Showing results for 
Search instead for 
Did you mean: 

Subscription getmany transaction not working

Highlighted
Contributor

Subscription getmany transaction not working

Hi,

In sandbox I successfully created a product, a plan, a subscription with Paypal rest api on .net

Now I cannot figure how to get my subscription transactions.

When I request an active subscription the API always returns an empty list with status code 200.

Below some technical details.

 

My request:

     /v1/billing/subscriptions/I-R9YVKYDJ3GF6/transactions?start_time=2020-01-21T07:50:20.940Z&end_time=2020-07-30T07:50:20.940Z

 

My active subscription:

{"id":"I-R9YVKYDJ3GF6","status":"ACTIVE","status_update_time":"2020-07-29T09:25:56Z","plan_id":"P-8Y624641AV4462518L4KYEOI","start_time":"2020-07-28T22:00:00Z","shipping_amount":{"currency_code":"EUR","value":"0.0"},"subscriber":{"name":{"given_name":"John","surname":"Doe"},"email_address":"blablaemail","shipping_address":{"address":{"address_line_1":"Av. de la Pelouse","admin_area_2":"Paris","admin_area_1":"Alsace","postal_code":"75002","country_code":"FR"}}},"billing_info":{"outstanding_balance":{"currency_code":"EUR","value":"0.0"},"cycle_executions":[{"tenure_type":"REGULAR","sequence":"1","cycles_completed":"1","cycles_remaining":"998","total_cycles":"999","current_pricing_scheme_version":"1"}],"last_payment":{"amount":{"currency_code":"EUR","value":"30.0"},"time":"2020-07-29T09:23:12Z"},"next_billing_time":"2020-08-29T10:00:00Z","final_payment_time":"2103-09-29T10:00:00Z"},"create_time":"2020-07-29T09:22:07Z","update_time":"2020-07-29T09:25:56Z","links":[{"href":"<removed>"}]}