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
arweaveAccountAddress
string
The account address where payments will be made
applicationName
string
The name of your application
subscriptionName
string
The name of the subscription
subscriptionManagementUrl
string
A URL where users are able to manage their subscriptions
subscriptionFeeAmount
number
The amount in AR to be paid each period
subscriptionEndDate
Date
When the subscription ends
applicationIcon
string
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