module Revolut::Clients::Webhooks

Revolut Webhooks

Public Instance Methods

create_webhook(params = {}) click to toggle source

Create webhook

@see revolutdev.github.io/business-api/?shell–production#setting-up-a-web-hook

@param params [Hash] A customizable set of params. @option params [String] :url Call back endpoint of the client system,

https is the supported protocol.

@return [Hash] Response from API.

# File lib/revolut/clients/webhooks.rb, line 16
def create_webhook(params = {})
  connection.post('webhook', params)
end