A Webhook is used to subscribe to notification events on a user-selected endpoint. Currently available services for subscription are transfer, boleto, boleto-payment, and utility-payment
:url
[string]: Url that will be notified when an event occurs.:subscriptions
[list of strings]: list of any non-empty combination of the available services. ex: ["transfer", "deposit", "brcode-payment"]:id
[string, default nil]: unique id returned when the webhook is created. ex: "5656565656565656"A Webhook is used to subscribe to notification events on a user-selected endpoint. Currently available services for subscription are transfer, boleto, boleto-payment, and utility-payment ## Parameters (required): - `:url` [string]: Url that will be notified when an event occurs. - `:subscriptions` [list of strings]: list of any non-empty combination of the available services. ex: ["transfer", "deposit", "brcode-payment"] ## Attributes: - `:id` [string, default nil]: unique id returned when the webhook is created. ex: "5656565656565656"
(create webhook-params)
(create webhook-params user)
Send a single Webhook subscription for creation in the Stark Bank API
:url
[string]: url to which notification events will be sent to. ex: "https://webhook.site/60e9c18e-4b5c-4369-bda1-ab5fcd8e1b29":subscriptions
[list of strings]: list of any non-empty combination of the available services. ex: ["transfer", "boleto-payment"]:user
[Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set.Send a single Webhook subscription for creation in the Stark Bank API ## Parameters (required): - `:url` [string]: url to which notification events will be sent to. ex: "https://webhook.site/60e9c18e-4b5c-4369-bda1-ab5fcd8e1b29" - `:subscriptions` [list of strings]: list of any non-empty combination of the available services. ex: ["transfer", "boleto-payment"] ## Parameters (optional): - `:user` [Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set. ## Return: - Webhook map with updated attributes
(delete id)
(delete id user)
Delete a Webhook subscription entity previously created in the Stark Bank API
:id
[string]: Webhook unique id. ex: "5656565656565656":user
[Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set.Delete a Webhook subscription entity previously created in the Stark Bank API ## Parameters (required): - `:id` [string]: Webhook unique id. ex: "5656565656565656" ## Options: - `:user` [Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set. ## Return: - deleted Webhook map
(get id)
(get id user)
Receive a single Webhook subscription map previously created in the Stark Bank API by passing its id
:id
[string]: map unique id. ex: "5656565656565656":user
[Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set.Receive a single Webhook subscription map previously created in the Stark Bank API by passing its id ## Parameters (required): - `:id` [string]: map unique id. ex: "5656565656565656" ## Options: - `:user` [Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set. ## Return: - Webhook map with updated attributes
(page)
(page params)
(page params user)
Receive a list of up to 100 Webhook maps previously created in the Stark Bank API and the cursor to the next page. Use this function instead of query if you want to manually page your requests.
:cursor
[string, default nil]: cursor returned on the previous page function call:limit
[integer, default nil]: maximum number of maps to be retrieved. Unlimited if nil. ex: 35:user
[Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set.:webhooks
: list of webhook maps with updated attributes:cursor
: cursor string to retrieve the next page of webhooksReceive a list of up to 100 Webhook maps previously created in the Stark Bank API and the cursor to the next page. Use this function instead of query if you want to manually page your requests. ## Options: - `:cursor` [string, default nil]: cursor returned on the previous page function call - `:limit` [integer, default nil]: maximum number of maps to be retrieved. Unlimited if nil. ex: 35 - `:user` [Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set. ## Return: - map with :webhooks and :cursor: - `:webhooks`: list of webhook maps with updated attributes - `:cursor`: cursor string to retrieve the next page of webhooks
(query)
(query params)
(query params user)
Receive a stream of Webhook subcription maps previously created in the Stark Bank API. Use this function instead of page if you want to stream the objects without worrying about cursors and pagination.
:limit
[integer, default nil]: maximum number of maps to be retrieved. Unlimited if nil. ex: 35:user
[Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set.Receive a stream of Webhook subcription maps previously created in the Stark Bank API. Use this function instead of page if you want to stream the objects without worrying about cursors and pagination. ## Options: - `:limit` [integer, default nil]: maximum number of maps to be retrieved. Unlimited if nil. ex: 35 - `:user` [Project or Organization, default nil]: Project or Organization map returned from starkbank.user/project or starkbank.user/organization. Only necessary if starkbank.settings/user has not been set. ## Return: - stream of Webhook maps with updated attributes
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close