Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new API v2 endpoint to support Braintree Token generation #272

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

mdavo6
Copy link
Contributor

@mdavo6 mdavo6 commented Sep 1, 2022

The addition of this endpoint is related to the following PRs:
vuestorefront-community/spree#261
spree/spree-api-v2-js-sdk#346

@@ -3,5 +3,8 @@
namespace :v1 do
resource :braintree_client_token, only: :create, controller: 'braintree_client_token'
end
namespace :v2 do
resource :braintree_client_token, only: :create, controller: 'braintree_client_token'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about putting that in api/v2/storefront/checkout/ namespace?
That would put it alongside other payment-related methods: https://api.spreecommerce.org/docs/api-v2/64334a793f6d3-create-new-payment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants