Create an email billing
Last updated
Last updated
At the moment Cryptopay offers a system that allows for the creation and management of email billing exclusively through the API. Remember, that in a merchant's account, the email billing items are viewable without the capacity to make edits.
Let's :
Let us go through the parameters we used in our request above:
custom_id
- we recommend you to specify a certain reference by which you associate your customer with the payment
name
- descriptive name for the subscription.
amount
- subscription price.
currency
- the currency of payment, i.e. the currency into which the cryptocurrency received will be converted and in which the merchant will be credited to the balance
period
- periodicity of the subscription. Can be one of the following:
day
week
month
year
period_quantity
- number describing the jumps in periodicity (e.g., 2 for every two weeks).
starts_at
- date before which the first payment should be made. Аfter this date, the subscription will be cancelled.
payer_email
- email of the subscribing user.
payer_name
- name of the payer.
product_name
- name of the product.
product_description
- description of the product.
success_redirect_url
- URL for successful payment redirection.
unsuccess_redirect_url
- URL for unsuccessful payment redirection.
You will receive all that information back with status of the subscription and its id
Upon successful subscription creation, you gain control over various management aspects:
By leveraging these endpoints, you can manage subscriptions, track statuses, and ensure an optimal customer experience.
List of subscriptions: Retrieve a list of all project subscriptions using .
Individual subscription: Fetch a subscription by its ID using the .
Retrieval by custom id: Acquire a subscription using its custom ID through .
Manual Subscription Cancellation: For cases requiring manual intervention, utilise to cancel subscriptions as needed.