- Creates a merchant API key
Lists merchant API keys
Revokes a merchant API key
Creates a merchant API ke...
POST {{baseURL}}/v2/api-keys
Creates a new API key for a merchant.
If the API token used for this endpoint was created from a partner API key, an API key can be created only for merchants associated with that partner.
If the API token used for this endpoint was created from a merchant API key, an API key can be created only for that merchant.
See Also:
To list available keys, see GET /v2/api-keys.
To revoke an API key, see DELETE /v2/api-keys/{{clientId}}.
Security
Bearer
Identifies the merchant identifier.
Example: 5611f824-48ef-4255-978d-91ce13953bbd
Example:"5611f824-48ef-4255-978d-91ce13953bbd"
- Sandbox environmenthttps://sandbox.api.flute.com/v2/api-keys
- Production environmenthttps://api.flute.com/v2/api-keys
curl -i -X POST \
https://sandbox.api.flute.com/v2/api-keys \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"merchantId": "0b627967-4204-4d7a-aa13-e6eb0d58f543",
"apiKeyName": "Production API Key"
}'OK
Indicates the client identifier.
Example: 919c19ac-09cf-40c1-b093-413b9cabde43
Example:"919c19ac-09cf-40c1-b093-413b9cabde43"
Response
{ "clientId": "97e7c13c-059c-4734-b017-2a20847a79d0", "clientSecret": "1f80d6e1-9901-48b6-a862-6cfad1612e99" }