once there was verifyReceipt endpoint, which was deprecated.
But I think your flow seems right. The thing is there is no information in JWSTransactionDecodedPayload about whether the client has ended the transaction or not as far as I see. Additionally this is for consumables, check for also subscriptions and notifications inside the APIs.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: