Should I call the direct deposit allocations endpoint after a direct deposit switch to confirm it was successful?
Generally, if you call the Direct Deposit Allocations endpoint after completing a direct deposit switch through Pinwheel, the new allocation will be displayed in the response.
That said, some platforms take time to reflect the allocation change in their own settings or portal. You don't need to call the Direct Deposit Allocations (DDA) endpoint to confirm a direct deposit switch (DDS) succeeded, the outcome of the switch is already reported to you directly via the direct_deposit_switch.added webhook event (or by querying the Jobs endpoint), which includes an outcome field (success, error, etc.) determined from the payroll platform's own response to the switch request.
The Direct Deposit Allocations endpoint is a separate, read-only visibility tool. It doesn't edit direct deposit settings, and it's intended to show you the current state of a user's allocations rather than serve as your source of truth for switch success.