verify notification

This block is part of the Apple API group and was last modified in core v13.0.8.

verify notification v13.0.8

Verifies the given app notification based on the apple app store server json web token

In pins 4 + flow
  • flow
  • bundle id value required

    the apps bundle id

  • token value required

    the token to be verified

  • environment value

    Should be PRODUCTION or SANDBOX

    Default SANDBOX

  • app apple id value

    Is required if environment is set to production

Out pins 5 + flow
  • flow
  • success condition
  • error value
  • environment value
  • verified condition
  • payload object

Decodes the Apple server-notification JWS payload and returns it on payload with success and verified set true : NO cryptographic signature verification is performed. When the payload's data object carries signedTransactionInfo or signedRenewalInfo JWS strings, those are decoded too and added as transactionInfo / renewalInfo. An empty bundleid or token fails with error MISSING_BUNDLE_ID / MISSING_TOKEN; the environment output is "Production" only for an environment input of PRODUCTION (case-insensitive), otherwise "Sandbox".

A typical wiring for verify notification: a function trigger starts the flow; value feeds the bundleid pin; value feeds the token pin; the flow out pin feeds debug.

Studio canvas example for the verify notification block: typical wiring for verify notification.

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