```
public function sofyAction()
{
    $args = [ 'config_key' => $this->getConfigKey() ];
    $sofy = new Api($args);

    $helper = $this->getServiceLocator()->get('ViewHelperManager')->get('ServerUrl');
    $successUrl = $helper($this->url()->fromRoute('sofort_response'));

    $params = [
        'amount' => 1500,
        'currency_code' => 'EUR',
        'reason' => 'Vouhcer Order',
        'success_url' => $successUrl,
        'customer_protection' => false,
        'notification_url' => 'MY_PRIVATE_RESPONSE_URL',
    ];

    $trans = $sofy->createTransaction($params);
    return $this->redirect()->toUrl($trans['payment_url']);
}

```

How to get response and transaction ID as given it API document in Notification URL and on success URL too , please unable to find any help or guide for it ?