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
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/billing-entities/acme_inc" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme Inc" }'{ "id": "b8e2a656-04eb-441c-a6b2-bfab9e2a0f7c", "code": "acme_inc", "name": "Acme Inc (Updated)", "default_currency": "USD", "finalize_zero_amount_invoice": true, "is_default": true, "address": { "line1": "123 Business Ave, Suite 500", "line2": "Floor 5", "city": "San Francisco", "state": "CA", "country": "US", "postal_code": "94107" }, "legal_name": "Acme Corporation Inc. LLC", "legal_number": "US987654321", "email": "billing-updated@acmeinc.com", "timezone": "America/Los_Angeles", "created_at": "2023-01-15T00:00:00Z", "updated_at": "2023-01-16T05:30:00Z", "taxes": [ { "id": "d4e3c878-16fd-663e-c8d4-dgab0f4c2g9e", "name": "California State Sales Tax", "code": "us_ca_sales_tax_8_25", "description": "California State Sales Tax", "rate": "8.25", "created_at": "2023-01-15T00:00:00Z" }, { "id": "e5f4d989-27ge-774f-d9e5-ehbc1g5d3h0f", "name": "San Francisco City Tax", "code": "us_sf_city_tax_1_25", "description": "San Francisco City Tax", "rate": "1.25", "created_at": "2023-01-16T05:30:00Z" } ]}