Not allowed to save cards with Payment Method Tokens Api in sandbox mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to save card payment method using Payment Method Tokens Api in sandbox mode. For example i used American Express test card [removed], but when i try to create setup token of this card i get an error, see below.
name: 'NOT_AUTHORIZED',
message: 'Authorization failed due to insufficient permissions.',
debug_id: 'f72e6a41e9a4',
details: [{
issue: 'NOT_ENABLED_TO_VAULT_PAYMENT_SOURCE',
description: 'The API caller or the merchant on whose behalf the API call is initiated is not allowed to vault the given source. Please contact PayPal customer support for assistance.'
}]
I used the same card to create setup token, but with app based on US country, and it worked fine.
- Labels:
-
Payments REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using REST Api and I'm facing same error... Please help me on this matter how can solve that

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- My PayPal is not allowing me to receive or send requests. in PayPal Payments Standard
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- p is not a function error using the example downloaded from Paypal in SDKs
- Not receiving any confirmation emails for sandbox account in Sandbox Environment