Creates a new webhook in the system. A webhook is a URL that will be notified when certain events occur. The webhook includes details such as the event type, URL, and entity information. Upon successful creation, returns comprehensive webhook details including its unique identifier, event type, URL, and associated entity information.
Required API permissions: CreateWebhooks
The URL to send the webhook to.
"https://loopcrypto.xyz/webhook"
(Optional) The blockchain network IDs to subscribe to. If not provided, the webhook will be subscribed to all networks.
Note: Most users will leave this empty to receive events from all networks.
Valid network IDs:
1 (Ethereum)10 (Optimism)56 (BNB)137 (Polygon)8453 (Base)42220 (Celo)42161 (Arbitrum)900 (Solana)11155111 (Sepolia) - Only available on the demo environment[1, 10](Optional) The events to subscribe to. If not provided, all events will be subscribed to and be sent to the postUrl.
Valid webhook events:
AgreementSignedUpAgreementCancelledScheduledAgreementCancelTransferProcessedTransferCreatedTransferFinalizedLatePaymentAgreementSignedUp, AgreementCancelled, ScheduledAgreementCancel, TransferProcessed, TransferCreated, TransferFinalized, LatePayment ["AgreementSignedUp"]