Authentication
The GraphQL Admin API requires an access token which can be generated in the Memento dashboard. The access token is then included in each request as part of the Authorization header.

Example

1
curl -X POST \
2
"https://adminapi.mementopayments.com/v1/graphql.json" \
3
-H "Content-Type: application/graphql" \
4
-H "Authorization: Bearer <ACCESS_TOKEN>" \
5
-d '
6
{
7
users {
8
id
9
}
10
}
11
'
Copied!
Last modified 1yr ago
Copy link
Contents
Example