Are you receiving SNAP/EBT or WIC benefits? The Expensify.org/SNAP-WIC-VAX campaign is live and accepting new members. Learn more about receiving $50 for submitting a SNAP/WIC receipt and $50 for getting your COVID-19 vaccine here and join today!

Expense creator API: associate created expense with card number?

Tediore
Tediore Approved! Accountant Posts: 1

I'm creating an integration for a bank that doesn't support being connected to Expensify (but interestingly they have their own API). I noticed that the Expensify Transaction object includes fields for cardID and cardNumber, but these aren't parameters in the expense creator API. I tried passing them anyway when making the appropriate POST, but they didn't update the card number for the expense (as I expected).

Is there any way to associate an expense with a credit card number when creating an expense using the API? For context, I'd like to create a manual company card upload profile for these credit cards but use the API to associate expenses with these cards instead of uploading CSV files.