I'm working on an integration with the PayPal REST API. When I call https://api-m.sandbox.paypal.com/v1/oauth2/token, I get a response like {"scope":"https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/vault/payment-tokens/read https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/payments/payment/authcapture openid Braintree:Vault https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/services/vault/payment-tokens/readwrite https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks","access_token":"[TOKEN]","token_type":"Bearer","app_id":"[APP ID]","expires_in":31511,"nonce":"[NONCE]"} When I immediately return the access token in a subsequent call, all the endpoints I've tried return {
"error": "invalid_token",
"error_description": "Token signature verification failed"
} I've tried https://api-m.sandbox.paypal.com/v2/invoicing/generate-next-invoice-number, https://api-m.sandbox.paypal.com/v1/billing/plans, and https://api-m.sandbox.paypal.com/v2/invoicing/invoices. All return the same token error. I've called with both CURL and Postman. I'm sending the token in the header and I can tell it's being received because when I omit it or change the format, I get a different error. 'Content-Type: application/json',
'Authorization: Bearer <TOKEN>' I'm guessing I'm missing something obvious. Can anyone help me? Thank you.
... View more