Offsite payments app extension details-Payment URLs

For the payment URLs, our URL has an auto-generated id number along with the URL, what format should I use? for example:

/payment_intents/{id}/confirm

what should I put for id? a set of random numbers?