Hi All, can we use Braintree graphql API in suite ...
# suitescript
s
Hi All, can we use Braintree graphql API in suite script for auth/capture in braintree?
e
Unless you have the standalone library and import it as AMD-Compatible I do not think you can use it. Try to use the N/https module instead. I know you can make requests from there, I have not done auth to any GraphQL yet
s
Yes i will use N/https module. Actually i am not familiar with Graphql api
s
AFIK, GraphQL doesn't specify authentication
so assuming you can do whatever braintree requires for authentication via N/https, you should be in business as GraphQL queries are intentionally simple text representation