Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

iambateman's avatar

Using ID's from a third party

I'm building a personal finance app that consumes a ton of data (accounts, logins, transactions) from a third-party vender called Plaid.

Plaid provides ID's for each record that comes from their system. Any thoughts on the wisdom of using the Plaid ID as the local ID within Laravel for those models? Drawbacks?

It's a long string, instead of an integer, but I wasn't sure if that was a big deal.

0 likes
2 replies
Nakov's avatar

I usually keep my own IDs (auto-increments) + will add an extra column for 3d party IDs, it can be indexed and unique in case you want one record only, depends on what data it is to keep it for reference.

Please or to participate in this conversation.