It depends on what you want to achieve. With a unit test, you can only test if the correct payload is created as expected. With an integration test, you can probably test if the link works as expected.
You can safely assume that the functionality works at the end of PayPal. I wouldn't personally spend too much time on writing integration tests for this.