Liking cljdoc? Tell your friends :D

starkbank.webhook

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", "boleto-payment"]

Attributes:

  • :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", "boleto-payment"]

## Attributes:
  - `:id` [string, default nil]: unique id returned when the webhook is created. ex: "5656565656565656"
raw docstring

createclj

(create webhook-params)
(create webhook-params user)

Send a single Webhook subscription for creation in the Stark Bank API

Parameters (required):

Parameters (optional):

  • :user [Project]: Project map returned from starkbank.user/project. Only necessary if starkbank.user/set has not been set.

Return:

  • Webhook map with updated attributes
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]: Project map returned from starkbank.user/project. Only necessary if starkbank.user/set has not been set.

## Return:
  - Webhook map with updated attributes
sourceraw docstring

created-java-webhookclj

source

deleteclj

(delete id)
(delete id user)

Delete a Webhook subscription entity previously created in the Stark Bank API

Parameters (required):

  • id [string]: Webhook unique id. ex: "5656565656565656"

Options:

  • :user [Project]: Project map returned from starkbank.user/project. Only necessary if starkbank.user/set has not been set.

Return:

  • deleted Webhook with updated attributes
Delete a Webhook subscription entity previously created in the Stark Bank API

## Parameters (required):
  - `id` [string]: Webhook unique id. ex: "5656565656565656"

## Options:
  - `:user` [Project]: Project map returned from starkbank.user/project. Only necessary if starkbank.user/set has not been set.

## Return:
  - deleted Webhook with updated attributes
sourceraw docstring

getclj

(get id)
(get id user)

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]: Project map returned from starkbank.user/project. Only necessary if starkbank.user/set has not been set.

Return:

  • Webhook map with updated attributes
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]: Project map returned from starkbank.user/project. Only necessary if starkbank.user/set has not been set.

## Return:
  - Webhook map with updated attributes
sourceraw docstring

java-hashmap-to-mapclj

(java-hashmap-to-map x)
source

java-paramsclj

source

java-webhook-paramsclj

source

queryclj

(query)
(query params)
(query params user)

Receive a stream of Webhook subcription maps previously created in the Stark Bank API

Options:

  • :limit [integer, default nil]: maximum number of maps to be retrieved. Unlimited if nil. ex: 35
  • :user [Project]: Project map returned from starkbank.user/project. Only necessary if starkbank.user/set has not been set.

Return:

  • stream of Webhook maps with updated attributes
Receive a stream of Webhook subcription maps previously created in the Stark Bank API

## Options:
  - `:limit` [integer, default nil]: maximum number of maps to be retrieved. Unlimited if nil. ex: 35
  - `:user` [Project]: Project map returned from starkbank.user/project. Only necessary if starkbank.user/set has not been set.

## Return:
  - stream of Webhook maps with updated attributes
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close