Hi, I was curious if it’s possible to find a transaction by the idem that we passed in, when sending transactions with sign-in-with-coinbase?
We have a potential problem where the transaction does get sent on Coinbases end, but does not return to us correctly (perhaps the request times out, or the response is lost in transit). We understand that it wouldn’t be an issue if we send in the same IDEM again, as the same transaction would be returned, but that’s not where the potential problem for us is. The potential problem is if we would refund the user on our website, then the user could potentially have received their cryptocurrency + a refund. Now, we do have some solutions to this but they wouldn’t exactly be ideal.
It does feel a bit crazy that the only way you can find out if a transaction was sent (if you don’t have the transactionId), is by attempting to send one with the same IDEM. Which would be crazy to do if you don’t intend to send it, but just want to check…
Hope someone understands my trouble, I sure do appreciate any help!
Hi @chrillex1! We understand that you wanted to find a transaction by the idem that you passed in. As of the moment, we do not currently have the endpoint that would return a transaction using an idem. We will communicate this with our internal teams and log this a feature request. You may bookmark the following webpage and subscribe to email updates at the bottom of this page to stay up to date on the latest from Coinbase Cloud or check the announcements page of our Developer Forum.
What we recommend for you to try is our List Transactions endpoint which lists the transactions of an account by account ID. The result list is in descending order by default (newest first) which you may use to be able to track the transaction when utilizing our Send Money endpoint. Additionally, you may filter transactions with type send and check by the timeframe that you initiated the transaction you are having concerns with, as well as check to details that will be shown in the response like the one below:
"title": "Send bitcoin",
"subtitle": "to User 2"
We hope we were able to help. Have a great day ahead!