Create a new Webhook

POST {{baseUrl}}/v1/webhooks

Request Body

{"url"=>"<string>", "events"=>["bank.updated", "kyc.updated", "activity.updated"], "name"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
ratio-client-idstring(Required) Your Ratio Client Identifier
ratio-client-secretstring(Required) Your Ratio Client Secret
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;createTime&quot;:&quot;\u003cstring\u003e&quot;,&quot;updateTime&quot;:&quot;\u003cstring\u003e&quot;,&quot;events&quot;:&quot;kyc.updated&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;secret&quot;:&quot;\u003cstring\u003e&quot;}