{"name":"Square","appUrl":"https://saleor-app-payment-square.vercel.app","tokenTargetUrl":"https://saleor-app-payment-square.vercel.app/api/register","permissions":["HANDLE_PAYMENTS","MANAGE_CHECKOUTS"],"requiredSaleorVersion":">=3.23.36 <4","id":"saleor.app.square","version":"0.3.8","webhooks":[{"query":"\n  fragment PaymentGatewayInitializeSessionPayload on PaymentGatewayInitializeSession {\n    issuedAt\n    version\n    recipient {\n      id\n    }\n    sourceObject {\n      __typename\n      ... on Checkout {\n        id\n        channel {\n          id\n          slug\n        }\n      }\n      ... on Order {\n        id\n        channel {\n          id\n          slug\n        }\n      }\n    }\n    data\n    amount\n  }\n\n  subscription PaymentGatewayInitializeSessionSubscription {\n    event {\n      ...PaymentGatewayInitializeSessionPayload\n    }\n  }\n","name":"Square Payment Gateway Initialize Session","targetUrl":"https://saleor-app-payment-square.vercel.app/api/webhooks/saleor/payment-gateway-initialize-session","isActive":true,"syncEvents":["PAYMENT_GATEWAY_INITIALIZE_SESSION"]},{"query":"subscription PaymentGatewayInitializeTokenizationSessionSubscription { event { ...PaymentGatewayInitializeTokenizationSessionPayload }}fragment PaymentGatewayInitializeTokenizationSessionPayload on PaymentGatewayInitializeTokenizationSession { issuedAt version recipient { id } user { id email firstName lastName } channel { id slug } data}","name":"Square Payment Gateway Initialize Tokenization Session","targetUrl":"https://saleor-app-payment-square.vercel.app/api/webhooks/saleor/payment-gateway-initialize-tokenization-session","isActive":true,"syncEvents":["PAYMENT_GATEWAY_INITIALIZE_TOKENIZATION_SESSION"]},{"query":"subscription PaymentMethodInitializeTokenizationSessionSubscription { event { ...PaymentMethodInitializeTokenizationSessionPayload }}fragment PaymentMethodInitializeTokenizationSessionPayload on PaymentMethodInitializeTokenizationSession { issuedAt version recipient { id } user { id email firstName lastName } channel { id slug } data paymentFlowToSupport}","name":"Square Payment Method Initialize Tokenization Session","targetUrl":"https://saleor-app-payment-square.vercel.app/api/webhooks/saleor/payment-method-initialize-tokenization-session","isActive":true,"syncEvents":["PAYMENT_METHOD_INITIALIZE_TOKENIZATION_SESSION"]},{"query":"subscription ListStoredPaymentMethodsSubscription { event { ...ListStoredPaymentMethodsPayload }}fragment ListStoredPaymentMethodsPayload on ListStoredPaymentMethods { issuedAt version recipient { id } user { id email firstName lastName } channel { id slug }}","name":"Square List Stored Payment Methods","targetUrl":"https://saleor-app-payment-square.vercel.app/api/webhooks/saleor/list-stored-payment-methods","isActive":true,"syncEvents":["LIST_STORED_PAYMENT_METHODS"]},{"query":"subscription StoredPaymentMethodDeleteRequestedSubscription { event { ...StoredPaymentMethodDeleteRequestedPayload }}fragment StoredPaymentMethodDeleteRequestedPayload on StoredPaymentMethodDeleteRequested { issuedAt version recipient { id } user { id email firstName lastName } paymentMethodId channel { id slug }}","name":"Square Stored Payment Method Delete Requested","targetUrl":"https://saleor-app-payment-square.vercel.app/api/webhooks/saleor/stored-payment-method-delete-requested","isActive":true,"syncEvents":["STORED_PAYMENT_METHOD_DELETE_REQUESTED"]},{"query":"subscription TransactionInitializeSessionSubscription { event { ...TransactionInitializeSessionPayload }}fragment TransactionInitializeSessionPayload on TransactionInitializeSession { issuedAt version recipient { id } transaction { id token pspReference createdBy { ... on App { id } } events { type pspReference } } sourceObject { __typename ... on Checkout { id checkoutTransactions: transactions { id token authorizedAmount { amount currency } chargedAmount { amount currency } canceledAmount { amount currency } pspReference } email lines { quantity totalPrice { gross { amount currency } } variant { name product { name } } } shippingPrice { gross { amount currency } } delivery { shippingMethod { name } } user { id email firstName lastName } channel { id slug } } ... on Order { id orderTransactions: transactions { id token authorizedAmount { amount currency } chargedAmount { amount currency } canceledAmount { amount currency } pspReference } userEmail lines { productName variantName quantity totalPrice { gross { amount currency } } } shippingMethodName shippingPrice { gross { amount currency } } user { id email firstName lastName } channel { id slug } } } data merchantReference customerIpAddress action { amount currency actionType } idempotencyKey}","name":"Square Transaction Initialize Session","targetUrl":"https://saleor-app-payment-square.vercel.app/api/webhooks/saleor/transaction-initialize-session","isActive":true,"syncEvents":["TRANSACTION_INITIALIZE_SESSION"]},{"query":"subscription TransactionCancelationRequestedSubscription { event { ...TransactionCancelationRequestedPayload }}fragment TransactionCancelationRequestedPayload on TransactionCancelationRequested { issuedAt version recipient { id } transaction { id token pspReference createdBy { __typename ... on App { id } } authorizedAmount { amount currency } chargedAmount { amount currency } } action { amount currency actionType }}","name":"Square Transaction Cancelation Requested","targetUrl":"https://saleor-app-payment-square.vercel.app/api/webhooks/saleor/transaction-cancelation-requested","isActive":true,"syncEvents":["TRANSACTION_CANCELATION_REQUESTED"]},{"query":"subscription TransactionRefundRequestedSubscription { event { ...TransactionRefundRequestedPayload }}fragment TransactionRefundRequestedPayload on TransactionRefundRequested { idempotencyKey issuedAt version recipient { id } transaction { id pspReference } action { amount currency actionType } grantedRefund { id reason }}","name":"Square Transaction Refund Requested","targetUrl":"https://saleor-app-payment-square.vercel.app/api/webhooks/saleor/transaction-refund-requested","isActive":true,"syncEvents":["TRANSACTION_REFUND_REQUESTED"]}],"extensions":[],"author":"Saleor Commerce","brand":{"logo":{"default":"https://saleor-app-payment-square.vercel.app/logo.png"}},"dataPrivacyUrl":"https://saleor.io/legal/privacy/","homepageUrl":"https://github.com/saleor/apps","supportUrl":"https://saleor.io/discord"}