General callback approach

USE CASE SCENARIO:
we have a backend which let’s say successfully registered a callback url which receives the Callbacks for
auth/on-int which if successful gives us TRANSCATION ID
then on-confirm which gives us accessToken

like

  1. is init call this gives 202 (irrespective we get a callback or not if the api hit is success)
    then we get a call back on-init callback
    here we get transaction id
    then we call confirm this again gives 202
    And we get on-confirm callback
    here we get access token

PROBLEM:
so how can be so sure that from my front end side to call the next aut/confirm api without knowing that we actually got the transcation ID for on-init callback
Same for confirm and ON-connfirm

hope i tried to make my situation clear ,really appreciate if anyone can help me out on this
@IntegrationSupport