Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Cannot remove credit card information from an orderForm via API
Cannot remove credit card information from an orderForm via API
ID:
Backlog
Published on 9/13/2021
Last update on 12/22/2022

Summary

Credit card information cannot be removed from an orderForm via route /api/checkout/pub/orderForm/{orderFormId}/paymentAccount/{accountId}/remove when using appKey/appToken as credentials.

When an appKey with the appropriate permissions submits a request to this route, the API returns an error with status 500: "Attempted to perform an unauthorized operation."

Note that it is not an error with status 403, as is usual for authorization failures.

Simulation

Workaround

Currently, there is no workaround.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback