Skip to content

Validate request payloads using Zod on public routes #146

Description

@robertocarlous

Body:

Some controllers assume well-formed input. Add Zod schemas for key endpoints and middleware to validate inputs, returning 400 with a consistent error payload for malformed requests.

Acceptance Criteria:

  • Zod schemas exist for major public endpoints (auth, deposit, withdraw, webhook).
  • Invalid payloads return 400 with a descriptive error body.
  • Tests cover validation failures and success cases.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignStellar WaveIssues in the Stellar wave program

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions