Skip to content

Implement Bulk Gift Creation API: Allow sending the same amount to 10+ phone numbers at once #146

@Emrys02

Description

@Emrys02

Allowing corporate senders or families to mass distribute identical funds enhances Zendvo's viral loop and utility scaling compared to manually iterating 10 API calls simultaneously.

Implementation Guidelines

Key Files: src/app/api/gifts/route.ts, src/server/db/schema.ts.

  • Expose a POST /api/gifts/bulk routing handler.
  • Accept an array of recipient phone numbers and calculate a single combined payment intent for billing.
  • Break the array asynchronously inside database transactions into distinctly individual escrow lock hashes post-fiat clearance.

Expectations

What done looks like: Clients send an array containing multiple phone strings, getting billed collectively once while splitting up escrow independently behind the scenes.

For any question, reach me on Discord: emry_ss

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions