reference_id for a new payment attempt, or the API reports the idempotency key already exists for a different payload.
The problem
reference_id must be a UUID v4 and acts as your idempotency key for executions. Dollr treats each ID as one logical payment attempt.
- Reusing the same ID with different
session_id/ amounts → conflict or wrong status - Generating a new ID before confirming the first attempt landed → risk of double charge
How to identify
- You called
POST /v1/executions/collection(or payout/transfer/refund) - The network timed out or returned an ambiguous error
- You retried with a new
reference_idwhile the first may still bePROCESSING
Solution
Interpret status
PROCESSINGorCOMPLETED→ do not execute again with a new IDFAILEDor not found → safe to start a new session and new UUID for a fresh attempt
