Swish returns information about the payment to the originating app. The outcome of the payment is the ‘result’ parameter, with the following three possible values:
- PAID – the money has been transferred, i.e., the payer has got a confirmation that the payment has been successful.
- UNPAID – the payment has not been successful.
- UNKNOWN – the status of the payment is unknown and we recommend giving the user an error message and encourage them to check the balance of their account.
If an information message was displayed to the user, information about this is sent in the userinfo parameter.