Usage/Acta payments
Cancel all Programmable transfers
Steps to Cancel Recurring Transfers
Create wagmi config
In the first step, create a Wagmi configuration file.
Projects built with Rainbowkit can utilize Rainbowkit's default Wagmi configuration.
Cancel Recurring Transfers
Use theuseCancel()
and useSIWE()
hooks to cancel all recurring transfers. Any unprocessed scheduled recurring transfers will be marked as cancelled
on the paymaster.After invoking the cancel() method from the useCancel() hook, all scheduled recurring transfers will be canceled.
👏 Congratulations! You have successfully canceled the scheduled recurring transfers.
Next
List all scheduled programmable transfers
Create Checkout Session POST
This api makes a request to Actalink subscription server to create a checkout session for payment link. for example if https://pay.acta.link/payment-link/135910b9-5450-49bc-876a-a4bcec33f09b is the payment link, the consumer will open this payment link on his browser. The dapp will make a POST request to subscription server to create the checkout session