I'm building a webshop based on the slim3 framework. I need to handle a server-to-server POST-request to confirm if payment was successful. I added csrf to the container like this:

```
$container['csrf'] = function($container) {
    return new \Slim\Csrf\Guard;
};

```

and added it to the app like this:

```
$app->add($container->csrf);

```

And it works good. But now i need to be able to add an exception to a certain route so i get the post reques they are sending.
I'couldn't find a working solution so far.

Any advice?