v2/vault/payment-tokens API 403 Forbidden Error.

raycpt
Contributor
Contributor

Hello PayPal Community,

I am testing the v2/vault/payment-tokens API in the sandbox environment, but I am encountering a 403 error with the message:
"issue": "NOT_ENABLED_FOR_VAULT_SOURCE",
"description": "The API caller or the merchant on whose behalf the API call is initiated is not allowed to vault the given source."
Can you help me with this?"

 

"Do I need to be in one of the countries listed under the 'Availability' section on this page to use this API?

For reference, my sandbox account country is Korea."

 

 

Login to Me Too
11 REPLIES 11

MTS_Jennifer
Moderator
Moderator

Hi @raycpt ,

Thank you for posting to the PayPal Merchant Community. If your api is getting that error it means that your sandbox account and rest api app are not setup to process Reference Transactions and the future payment's scopes are not added.

If you provide the debug id, and the sandbox account merchant id, we can ensure that it is enabled for future payment's scopes and Reference Transactions.

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

WaynePet
Contributor
Contributor

Hi MTS_Jenifer,

 

We are also experiencing this issue, can you please enable future payment's scopes and Reference Transactions on our account.

 

Sandbox account merchant ID: ZLXXXCDNJR4RA

"debug_id": "f608154b1aa26",

 

Regards,

Wayne

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello @WaynePet ,

Thank you for contributing to this post. Per your request, I have enabled Future Payments and Reference Transactions on  your Sandbox Account: ZLXXXCDNJR4RA and rest api app.

 

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

WaynePet
Contributor
Contributor

Hello @MTS_Jennifer,

We are still facing issues as per the screenshots below. Please advise.

image (2).pngimage (1).pngimage.png

Regards,

Wayne

 

Login to Me Too

WaynePet
Contributor
Contributor

@MTS_Chiranjeevi @MTS_Jennifer have you had a chance to look at our issue?

 

Cheers

Wayne

Login to Me Too

WaynePet
Contributor
Contributor

Hi @MTS_Chiranjeevi  and @MTS_Jennifer ,

Can you please look into the issue and let us know the next steps? Is there another way to contact someone to address this?

Thanks

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hi @WaynePet ,

Thank you for contributing to this post. Can you please open a ticket to Merchant Technical Support, so we can work directly with you on this issue. When you open the ticket include the sandbox rest api client id, with the details of the error you are receiving. This will allow us to provide more details on this issue and work directly with you on a resolution.

 

Here is how to open a ticket:

  • Go to https://paypal.com/mts
  • Click Contact us
  • Click Log in with PayPal, log into your PayPal Account
  • Click Contact us
  • Fill in the subject
  • Fill in the case details

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

MTS_Chiranjeevi
Moderator
Moderator

Hi @RemcoCM ,

Good day!

Please provide the debug id and sandbox account merchant id?

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

raycpt
Contributor
Contributor

 

Thank you for your response. Here is the information you requested.

 

sandbox account merchant ID : RUPZQ5DHZHEKU

 

/v3/vault/payment-tokens

"debug_id": "3577ba4090f5f",
 
 /v2/vault/payment-tokens
"debug_id": "13173753e20d8",
 
Additionally, when I created a sandbox region in the US and tested with the credentials of the created account, the test was successful.
 
Sincerely,
raycpt
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.