POST
/
api
/
service
/
webhook-event
/
merchant-updated
curl --request POST \
  --url https://{yourDomain}/api/service/webhook-event/merchant-updated \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "type": "merchant_updated",
  "date": "<string>",
  "payload": {
    "id": "<string>",
    "createdAt": "<any>",
    "updatedAt": "<any>",
    "legalName": "<string>",
    "displayName": "<string>",
    "email": "<string>",
    "phone": "<string>",
    "mobilePhone": "<string>",
    "address": {
      "firstName": "<string>",
      "lastName": "<string>",
      "line1": "<string>",
      "line2": "<string>",
      "region": "<string>",
      "city": "<string>",
      "zipCode": "<string>",
      "country": "AF"
    },
    "category": "<string>",
    "websiteUrl": "<string>",
    "applicationFeeShare": 1,
    "applicationFixedFeeShare": 1,
    "payout": {
      "verified": true,
      "enabled": true,
      "status": "pending",
      "isPayoutsDataAvailable": true
    },
    "appId": "<string>",
    "apps": [
      {
        "id": "<string>",
        "shopLogo": "<string>",
        "quoteCallbackUrl": "<string>",
        "completeCallbackUrl": "<string>",
        "websiteUrl": "<string>",
        "platformType": "shopify",
        "hasApiKey": true,
        "successCallbackUrl": "<string>",
        "errorCallbackUrl": "<string>",
        "webhookUrl": "<string>",
        "defaultWebhookSubscription": "<any>",
        "offsetProject": "<string>",
        "privacyUrl": "<string>",
        "tosUrl": "<string>",
        "buttonOnlyShopTrees": true,
        "climateActionMode": {
          "type": "transaction",
          "amount": 0
        },
        "impactOffsetProjects": [],
        "notificationSettings": {
          "webhookFailure": {
            "emailNotification": {
              "active": true,
              "emails": [
                "jsmith@example.com"
              ]
            }
          },
          "merchantOrderConfirmation": {
            "emailNotification": {
              "active": true,
              "emails": [
                "jsmith@example.com"
              ]
            }
          }
        },
        "manuallyApproved": true,
        "updatedAt": "<any>",
        "createdAt": "<any>"
      }
    ],
    "users": [
      "<string>"
    ],
    "impactAccount": true,
    "plan": {
      "dealType": "S",
      "refundApplicationFee": true,
      "applicationFeeShare": 1,
      "applicationFixedFeeShare": 1,
      "amountFreeTransactions": 1,
      "monthlyInvoiceTotal": 1
    },
    "pairedMerchantId": "<any>",
    "blacklistedBankIds": [
      "<string>"
    ],
    "blacklistedOpenBankingProviders": [
      "Token"
    ],
    "marketCapabilitySettings": [
      {
        "market": "AF",
        "capabilities": [
          "ais"
        ]
      }
    ],
    "themeName": "default",
    "deletedAt": "<any>",
    "shopLogo": "<string>",
    "quoteCallbackUrl": "<string>",
    "completeCallbackUrl": "<string>",
    "platformType": "shopify",
    "hasApiKey": true,
    "successCallbackUrl": "<string>",
    "errorCallbackUrl": "<string>",
    "webhookUrl": "<string>",
    "defaultWebhookSubscription": "<any>",
    "offsetProject": "<string>",
    "privacyUrl": "<string>",
    "tosUrl": "<string>",
    "buttonOnlyShopTrees": true,
    "climateActionMode": {
      "type": "transaction",
      "amount": 0
    },
    "impactOffsetProjects": [],
    "notificationSettings": {
      "webhookFailure": {
        "emailNotification": {
          "active": true,
          "emails": [
            "jsmith@example.com"
          ]
        }
      },
      "merchantOrderConfirmation": {
        "emailNotification": {
          "active": true,
          "emails": [
            "jsmith@example.com"
          ]
        }
      }
    },
    "manuallyApproved": true
  }
}'

Body

application/json

Data of the webhook event

The body is of type object.

Response

200

OK