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