Prerequisites
Before using the Postman collection, download, and install Postman. The latest version of Postman is available from the Postman website.Installation
Once Postman is installed, the collection and environment can be loaded with one click using the button below.Manual installation
Although the most convenient way, this collection is only updated occasionally. An auto-updated collection can be manually installed but requires manually updating to the latest version.Environment setup
Before making API calls, configure the Postman environment with an API key and additional information.- In the top right corner of the Postman window, select the Gr4vy environment from the dropdown menu.
- Click the Environment quick look icon (the eye icon) to the right of the environment dropdown.
- In the Environment tab, a list of variables is displayed. Set the following variables:
baseUrl- Set this to the production or sandbox URL.privateKey- Set this to the RSA private key to usethumbprint- The thumbprint, or key ID, for the private key. This is visible in the dashboard.scopes- A list of API scopes to use for each request.embed- Any additional embed parameters to add.merchantAccountId- The merchant account ID on the instance.
Using the collection
Once the environment is configured, API calls can be made.- In the top right corner of the Postman window, select the Gr4vy environment from the dropdown menu.
- In the Collections tab on the left side of the Postman window, expand the Gr4vy API collection.
- A list of API endpoints, organized into folders, is displayed.
- Select an API endpoint to call.
- The request details are displayed in the main Postman window.
- Click the Send button to make the API call.