verify transaction
This block is part of the Apple API group and was last modified in core v13.0.8.
verify transaction v13.0.8 Verifies the given app transaction based on the apple app store server json web token
- flow
- bundle id
valuerequiredthe apps bundle id
- token
valuerequiredthe token to be verified
- environment
valueShould be PRODUCTION or SANDBOX
- app apple id
valueIs required if environment is set to production
- flow
- success
condition - error
value - environment
value - verified
condition - payload
object
Decodes the Apple JWS payload (the base64url middle segment) and returns it on payload with success and verified set true : NO cryptographic signature verification is performed, so verified=true means only that the token decoded. An empty bundleid or token fails with error MISSING_BUNDLE_ID / MISSING_TOKEN; the environment output is "Production" only when the environment input equals PRODUCTION (case-insensitive), otherwise "Sandbox". The app_apple_id input is accepted but never read.
A typical wiring for verify transaction: a function trigger starts the flow; value feeds the bundleid pin; value feeds the token pin; the flow out pin feeds debug.
Version history
Introduced in v13.0.8.
Back to
Apple API Return to the main group to view all sub-groups Back to transactions Return to the group to view all blocks within this group 