POST /v1/webhook-endpoints
POST
/v1/webhook-endpointsAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredHeader parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulldestinationUrlstringrequiredmin length 1
subscribedEventTypesstring[]requiredmin items 1
apiVersionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullscopestring | nullShow propertiesHide properties
Any of:
string
stringnull
nulldescriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
environmentstringrequiredAllowed:
sandboxproductiondestinationUrlstringrequiredmin length 1
statusstringrequiredAllowed:
activedisabledscopestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullsubscribedEventTypesstring[]requiredapiVersionstringrequiredmin length 1
descriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreatedAtstringrequiredmin length 1
updatedAtstringrequiredmin length 1
secretstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1