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
application/json
curl -X DELETE "https://example.com/wallets/8ef02857-a71e-4ea2-bcf9-57d3a41bc6ba"{ "external_customer_id": "client-12345", "status": "ACTIVE", "available_balance": { "value": 120.35, "currency_code": "USD" }, "ongoing_usage": { "value": 100, "currency_code": "USD" }, "net_balance": { "value": 50, "currency_code": "USD" }, "name": "Prepaid Wallet", "rate_amount": "1.5", "available_credits": "28.0", "ongoing_usage_credits": "10.0", "net_balance_credits": "18.0", "consumed_credits": "2.0", "created_at": "2025-01-01T00:00:00Z", "expiration_at": "2025-01-01T00:00:00Z", "terminated_at": "2025-01-01T00:00:00Z", "applies_to": { "fee_types": [ "SUBSCRIPTION" ] }, "recurring_transaction_rules": [ { "trigger": "THRESHOLD", "paid_credits": "20.0", "granted_credits": "10.0", "method": "FIXED", "interval": "MONTHLY", "started_at": "2025-01-01T00:00:00Z", "expiration_at": "2025-01-01T00:00:00Z", "threshold_credits": "5.0", "target_ongoing_balance": "200.0" } ], "id": "sub_01H3YT8P7Q5R3S1T2U0V4W9X8"}