v1
latestOpenAPI 3.0.32026-07-2476126451.9 KBCreate subscription
Create subscription
Request body
Plan ID to attach subscription to.
Start date of subscription trial or subscription first cycle.
Customer UUID to be attached to the subscription.
Determine if the subscription invoice will be charged automatically using card token.
Card token uuid that will be used in paying subscription invoice automatically. Required only when set charge_automatically = true
A URL that the Moneyhash server will send a POST request to with subscription status updates.
ID of the payment flow to be used with the subscription invoice payments.
Response
Plan ID subscription attached to.
Subscription current status.
Start date of subscription trial or subscription first cycle.
Customer UUID attached to the subscription.
Determine if the subscription invoice will be charged automatically using card token.
Number of remaining recurring cycles in the subscription life time, null if the subscription is forever.
Number of recurring cycles to apply discount to, null if there is no discount.
Subscription configuration attached to subscription.
A URL that the Moneyhash server will send a POST request to with subscription status updates.
Due invoices to be paid.
Start date of the next recurring cycle, null if the current date less than start date
All invoices related to this subscription.
Payment redirect URLs from plan group level.
The data of the payment flow attached to the subscription if exists.
The subscription payment intent that is used for card tokenization when charge_automatically is true and primary_card_token is not provided in the subscription creation