Generate a new API key
curl --request POST \ --url https://api.chargeapi.com/v1/developer/api-keys \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "name": "<string>", "scopes": [ "read" ], "expiry": "2023-11-07T05:31:56Z" }'
Friendly name for the API key
read
write
admin
Optional expiration date