Your customer pays you at checkout. You pay Urban Priority by invoice.
Your backend/plugin requests a live delivery quote from Urban Priority, shows the available delivery options to your customer, then creates the Urban Priority job after the customer selects one.