CreateWalletLinkRequest class contains the data required to create a wallet link that allows customers to link their PayMaya wallet to your application.
Properties
Reference number assigned by the merchant to identify a transaction.
Set of redirect URLs upon process completion (success, failure, cancel).
Additional metadata about the wallet link creation.
Related Classes
RedirectUrl
Redirect URL model defining URLs used to redirect to specific pages once the wallet link creation process is done.Success URL where the customer will be redirected after successfully linking their wallet.
Failure URL where the customer will be redirected if the linking process fails.
Cancel URL where the customer will be redirected if they cancel the linking process.
Example
Usage
After creating aCreateWalletLinkRequest, pass it to the PayWithPayMaya.createWalletLink() method: