In payment gateway integration, webhooks are usually considered a single source of truth for updating the payment status, with status check api as a fallback.