Create an outbound webhook endpoint
curl --request POST \
--url http://localhost:3001/v1/outbound-webhook-endpoints \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>",
"subscribedEvents": [
"payment_intent.created"
],
"status": "active"
}
'{
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"url": "<string>",
"subscribedEvents": [
"<string>"
],
"hasSigningSecret": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"signingSecret": "<string>"
}๐ก Outbound Webhooks
Create an outbound webhook endpoint
POST
/
v1
/
outbound-webhook-endpoints
Create an outbound webhook endpoint
curl --request POST \
--url http://localhost:3001/v1/outbound-webhook-endpoints \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>",
"subscribedEvents": [
"payment_intent.created"
],
"status": "active"
}
'{
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"url": "<string>",
"subscribedEvents": [
"<string>"
],
"hasSigningSecret": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"signingSecret": "<string>"
}Headers
Minimum string length:
1Minimum string length:
1Body
application/json
Response
Default Response
Available options:
active, disabled, deleted Available options:
true โI
