Webhook

Webhook will be sent to specified webhookURL after every status changes on finance application. Webhook body contains financeApplicationId of the application. After webhook comes, merchant has to call method GET /applications/{applicationId}/status to get specific status of application.

Optional, but we strongly recommend to set webhookUrl in call POST /applications (create finance application) with hash parameter(s) to sign the webhook for additional security of your system.

 

E.g.: Hash could be generated by posting body for POST /applications.

  },

  "webhookUrl": "http://test.webhook.url.sk/webhook?hash=THIS_IS_THE_HASH",

  "redirectUrl": "http://test.eshop.sk/redirect"

}

Or

  },

  "webhookUrl": "http://test.webhook.url.sk/webhook/THIS_IS_THE_HASH",

  "redirectUrl": "http://test.eshop.sk/redirect"

}

Webhook will be sent to the Url with specified unique hash for better security of your system.