Subscriptions
ArConnect Injected API subscription() function
Subscriptions is a feature that allows users to subscribe to applications and be charged on a periodic basis such as monthly, weekly, or quarterly. Users will be charged the moment they subscribe
Argument | Type | Description |
---|---|---|
|
| The account address where payments will be made |
|
| The name of your application |
|
| The name of the subscription |
|
| A URL where users are able to manage their subscriptions |
|
| The amount in AR to be paid each period |
| Frequency for period to be charged | |
|
| When the subscription ends |
|
| URL where an image is hosted, ideally 48x48 |
Note: This function requires the ACCESS_ALL_ADDRESSES
permission.
Recurring Payment Frequency
This function requires a recurring frequency such as listed:
Recurring Payment Frequency
Example usage
Last updated