GET and DELETE API requests take path and/or query parameters. Meanwhile, POST API request accepts JSON-encoded body. Please note that there might be some exceptions which will be informed in the API doc and reference.
In some APIs, the JSON body will be in a sheet structure format.
Headers
Below are the headers that are present in Sandbox APIs| Header | Mandatory | Description | Example |
|---|---|---|---|
| x-api-key | Yes | API key | key_live_SIethxxxxxxxx |
| authorization | Yes | JWT access token / Resource owner token | eyJhbGcxxxxx.eyJhdJxxxx.Si29xxxxx |
| x-api-secret | No | API secret. Required in Authenticate API to generate JWT access token | secret_live_xxxxxxxxxxx |
| x-api-version | No | API version | 1.0 |
| x-source | No | Specify the source. Default is primary | secondary |
| Cache-Control | No | Send with value as no-cache to get latest data | no-cache |
| Content-Type | No | The content type being sent in the request | application/json |