You can't use the promotional credit in Claude Code.
Instead, use OpenCode and connect via an API.
Then you can use the promo credit.
Details: https://platform.claude.com/docs/en/about-claude/api-credits-for-subscribers
Claude Platform DocsAPI credits for Max, Ultra, and Team plansClaim the monthly Claude Platform credits included with Claude Max, Ultra, and Team plans, and learn what they cover.