payments

Run birthday coupon generation manually

Admin-only manual trigger for testing/operations. Defaults to dry-run.

post/api/payments/birthday-coupons/run

Query parameters

target_datestring date nullable

Target date YYYY-MM-DD (defaults to today)

Target date YYYY-MM-DD (defaults to today)

emailstring nullable

Optional recipient email to process only one matching birthday user

Optional recipient email to process only one matching birthday user

dry_runboolean

If true, does not create Stripe codes or send emails

If true, does not create Stripe codes or send emails

send_emailboolean

If false, create codes without sending email

If false, create codes without sending email

Response

Successful Response

reference_datestring date required
timezonestring required
dry_runboolean required
total_candidatesinteger required
createdinteger required
emailedinteger required
skipped_existinginteger required
failedinteger required
requested_emailstring nullable
email_match_foundboolean nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.