With MONEI GraphQL API you have full access to all MONEI features like analytics reports, payments, events, and much more. This API requires authentication and is intended to be used server side.
If you want to know how GraphQL API works, check out How to GraphQL.
If you don't have a MONEI account already, you’ll need to create one to use the GraphQL API.
If you want to start playing with the API immediately, you can do it in the GraphQL API Explorer of your MONEI account. You can run Queries and Mutations in the explorer to see what the MONEI GraphQL API can offer you. The API Explorer is available to all MONEI users.
Heads up! MONEI's GraphQL Explorer makes use of your real, live, production data.
The API uses API keys to authenticate requests. You can view and manage your API key in the MONEI Dashboard → Settings → API Access.
Your API key enables full access to all MONEI resources, so be sure to keep it secure! Do not share your secret API key in publicly accessible areas such as GitHub, client-side code, and so forth.
Include your API Key as an
Authorization header in all your GraphQL requests.
You can access GraphQL API endpoint using cURL or any other HTTP client.
You can explore GraphQL API Queries and Mutations in the interactive GraphQL API Explorer in you MONEI Dashboard.
In GraphQL, queries are the equivalent of REST’s GET action verb. Even though a POST is being sent to the GraphQL endpoint, if the body only contains queries, data will only be retrieved and not modified.
Mutations are the equivalent of REST’s data-modifying action verbs.