As proposed in this picture below, we want to use wallet API to issue Action Token and send token to an account that will be registered in the future. So in this issue, we will implement a integration test that covers:
- An endpoint to issue a JWT token with the content shown on the picture: the example action token.
- An endpoint to receive this action token and verify the token then do wallet transfer.
- The edge case that
action token is expired, the request is denied.

In details, the integration tests are:
- A test: a wallet account that owns tokens, the account issue a
Action Token, simulates a new user coming in and create new wallet account, then apply the token that specified in the action token, wallet API verify the action token, if okay, then do the transfer, if not, deny it.
- Based on the test story above, simulate the token expiration, at this case, the token application is denied.
Reference reading: