POST
/
webhook-event
/
merchant-updated
curl --request POST \
  --url https://{yourDomain}/webhook-event/merchant-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,
    "pairedMerchantId": "<string>",
    "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": null
    },
    "category": "<string>",
    "payout": {
      "status": "started",
      "verified": true,
      "enabled": true,
      "isPayoutsDataAvailable": true
    },
    "blacklistedBankIds": [],
    "appId": "<string>",
    "apps": [
      {
        "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
      }
    ],
    "users": [
      "<string>"
    ],
    "plan": {
      "dealType": "custom",
      "applicationFeeShare": 123,
      "applicationFixedFeeShare": 123,
      "refundApplicationFee": true,
      "amountFreeTransactions": 123,
      "monthlyInvoiceTotal": 123
    },
    "applicationFeeShare": 123,
    "applicationFixedFeeShare": 123,
    "marketCapabilitySettings": [
      {
        "market": "AF",
        "capabilities": [
          "pis"
        ]
      }
    ],
    "impactAccount": true,
    "deletedAt": "2023-11-07T05:31:56Z"
  }
}'

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 that was updated.

Response

200

OK