Updates the url or subcribed to events for a webhook subscription. This can be used via the app or via the API by providing an API key.
curl --request POST \
--url https://api.sand.getivy.de/api/service/webhook-subscription/update \
--header 'Content-Type: application/json' \
--header 'X-Ivy-Api-Key: <api-key>' \
--data '{
"id": "<any>",
"url": "<string>",
"events": [
"test",
"merchant_updated",
"merchant_app_updated",
"order_created",
"order_updated",
"refund_succeeded",
"refund_failed",
"refund.initiated",
"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.initiated",
"user_payout.failed",
"user_payout.paid",
"payout.initiated",
"payout.failed",
"payout.paid"
]
}'
{
"id": "<any>",
"merchant": "<any>",
"merchantApp": "<any>",
"url": "<string>",
"events": [
"test"
],
"createdAt": "<any>",
"updatedAt": "<any>"
}
API key for authentication
Returns the updated webhook subscription.
The response is of type object
.
curl --request POST \
--url https://api.sand.getivy.de/api/service/webhook-subscription/update \
--header 'Content-Type: application/json' \
--header 'X-Ivy-Api-Key: <api-key>' \
--data '{
"id": "<any>",
"url": "<string>",
"events": [
"test",
"merchant_updated",
"merchant_app_updated",
"order_created",
"order_updated",
"refund_succeeded",
"refund_failed",
"refund.initiated",
"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.initiated",
"user_payout.failed",
"user_payout.paid",
"payout.initiated",
"payout.failed",
"payout.paid"
]
}'
{
"id": "<any>",
"merchant": "<any>",
"merchantApp": "<any>",
"url": "<string>",
"events": [
"test"
],
"createdAt": "<any>",
"updatedAt": "<any>"
}
Updates the url or subcribed to events for a webhook subscription. This can be used via the app or via the API by providing an API key.
curl --request POST \
--url https://api.sand.getivy.de/api/service/webhook-subscription/update \
--header 'Content-Type: application/json' \
--header 'X-Ivy-Api-Key: <api-key>' \
--data '{
"id": "<any>",
"url": "<string>",
"events": [
"test",
"merchant_updated",
"merchant_app_updated",
"order_created",
"order_updated",
"refund_succeeded",
"refund_failed",
"refund.initiated",
"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.initiated",
"user_payout.failed",
"user_payout.paid",
"payout.initiated",
"payout.failed",
"payout.paid"
]
}'
{
"id": "<any>",
"merchant": "<any>",
"merchantApp": "<any>",
"url": "<string>",
"events": [
"test"
],
"createdAt": "<any>",
"updatedAt": "<any>"
}
API key for authentication
Returns the updated webhook subscription.
The response is of type object
.
curl --request POST \
--url https://api.sand.getivy.de/api/service/webhook-subscription/update \
--header 'Content-Type: application/json' \
--header 'X-Ivy-Api-Key: <api-key>' \
--data '{
"id": "<any>",
"url": "<string>",
"events": [
"test",
"merchant_updated",
"merchant_app_updated",
"order_created",
"order_updated",
"refund_succeeded",
"refund_failed",
"refund.initiated",
"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.initiated",
"user_payout.failed",
"user_payout.paid",
"payout.initiated",
"payout.failed",
"payout.paid"
]
}'
{
"id": "<any>",
"merchant": "<any>",
"merchantApp": "<any>",
"url": "<string>",
"events": [
"test"
],
"createdAt": "<any>",
"updatedAt": "<any>"
}