POST
/
webhook-event
/
merchant-app-updated
curl --request POST \
  --url https://{yourDomain}/webhook-event/merchant-app-updated \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "type": "test",
  "date": "<string>",
  "payload": {
    "id": "<string>",
    "websiteUrl": "<string>",
    "privacyUrl": "<string>",
    "tosUrl": "<string>",
    "shopLogo": "<string>",
    "platformType": "shopify",
    "hasApiKey": true,
    "successCallbackUrl": "<string>",
    "errorCallbackUrl": "<string>",
    "quoteCallbackUrl": "<string>",
    "completeCallbackUrl": "<string>",
    "webhookUrl": "<string>",
    "defaultWebhookSubscription": "<string>",
    "offsetProject": "<string>",
    "buttonOnlyShopTrees": true,
    "climateActionMode": {
      "type": "transaction",
      "amount": 123
    },
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "impactOffsetProjects": [
      "<string>"
    ],
    "notificationSettings": {
      "webhookFailure": {
        "emailNotification": {
          "active": true,
          "emails": [
            "<string>"
          ]
        }
      },
      "merchantOrderConfirmation": {
        "emailNotification": {
          "active": true,
          "emails": [
            "<string>"
          ]
        }
      }
    },
    "manuallyApproved": true
  }
}'

Body

application/json
Data of the webhook event
id
string
required

The unique id for the webhook.

type
enum<string>
required

The type of the webhook.

Available options:
test,
merchant_updated,
merchant_app_updated,
order_created,
order_updated,
refund_succeeded,
refund_failed,
payout_report_requested,
data_session_completed,
checkout_session_created,
checkout_session_updated,
checkout_session_expired,
checkout_session_completed,
payout_created,
payout_updated,
mandate_setup_started,
mandate_setup_succeeded,
mandate_setup_failed,
mandate_revoked,
user_payout.failed,
user_payout.paid,
user_payout.initiated
date
string
required

The date of the webhook.

payload
object
required

The payload is the merchant app that was updated.

Response

200

OK