View as Markdown
API Spec (JSON)
API Spec (YAML)
Compact modeHides field descriptions and other prose for a more compact, scannable view of the API reference.Client CredentialsToken URLhttps://api-m.sandbox.paypal.com/v1/oauth2/tokenInheaderScopes
readwriteapplication/json
application/json
application/json
application/json
curl -X GET "https://example.com/subscriptions/5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"{ "name": "API Count Usage Subscription1", "external_customer_id": "CUSTOMER_1752766931284", "external_id": "SUB_1752779018503", "plan_code": "PLAN_CODE_1752694759534", "billing_time": "CALENDAR", "status": "ACTIVE", "plan_overrides": { "amount": { "value": 0.2, "currency_code": "USD" }, "name": "Basic API Plan", "trial_period": 14, "charges": [ { "id": "99fa7a6b-d005-43a5-8bab-0df7a2a721fb", "metric_id": "2e097d19-1350-4baf-8add-5d19ecef8113", "charge_model": "STANDARD", "properties": { "amount": "0.01" }, "min_amount": { "value": 200, "currency_code": "USD" } } ] }, "start_date": "2025-07-17T19:03:47Z", "created_at": "2025-07-30T01:54:40Z", "current_period_start": "2025-07-17T19:03:47Z", "current_period_end": "2025-07-31T23:59:59Z", "trial_ended_at": "2025-07-31T19:03:47Z", "id": "073a0619-f59c-4e7c-8dd4-02c83e583105"}