Skip to content

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

Open
mdavo6 wants to merge 20 commits intospree-contrib:masterfrom
mdavo6:vsf-support
Open

Add new API v2 endpoint to support Braintree Token generation#272
mdavo6 wants to merge 20 commits intospree-contrib:masterfrom
mdavo6:vsf-support

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

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