cURL
curl --request POST \ --url https://platform-api.anyspend.com/api/v1/discount-codes \ --header 'Authorization: Bearer <token>'
API key passed as Bearer token. Keys start with asp_.
asp_
Discount code created