List subscriptions
Returns a paginated list of subscriptions. Filter by customerId to list subscriptions for a specific customer, or by email to find subscriptions by customer email address.
query Parameters
pagePage number for paginating
limitLimit items per page
List subscriptions › Responses
Paginated subscriptions.
Create subscription
Create a new subscription linked to a plan and a customer vault.
planId is required unless you provide a customSchedule. They are mutually exclusive.
customSchedule lets you define a custom plan inline with: amount, dayFrequency, dayOfMonth, monthFrequency, payments.
customerVaultId or customerId (both accepted) — links the subscription to a customer vault. The customer's default payment method (card or ACH) is used.
startDate — optional. If omitted, the subscription starts on the next scheduled date.
autoRenew — automatically renew after the last payment cycle.
notificationMail — send receipt notifications via email/SMS.
attachments — file paths from the /upload-attachments endpoint.
Headers
authorizationCreate subscription › Request Body
autoRenewAutorenew
planIdPlan Id
startDateStart Date
customerVaultIdCustomer ID
customerIdCustomer ID
firstAmountFirst Amount
surchargeFirstAmountsurcharge First Amount
cardFeeFirstAmountSurcharge fee First Amount
notificationMailNotification Email after autoRenew
attachmentsAttachments
taxesTaxes amount or list of taxes
Create subscription › Responses
Subscription created.
Update subscription
Update an existing subscription.
Updatable fields: amount, surcharge, autoRenew, notificationMail, customerVaultId, attachments.
To change the customer vault (and thus the payment method), provide a new customerVaultId.
attachments: Upload files first via /upload-attachments, then pass the file path objects here.
path Parameters
idSubscription ID
Update subscription › Request Body
customerVaultIdCostumer Id
customerIdCostumer Id
autoRenewAutorenew
notificationMailNotification Email after autoRenew
attachmentsAttachments
Update subscription › Responses
Subscription updated.
Resume subscription
Resume a previously paused subscription. Processing resumes either on the day it was unpaused or based on the configured plan settings. Charges will continue as scheduled once resumed.
path Parameters
subscriptionIdSubscription ID
Resume subscription › Responses
Subscription resumed.
Retry failed schedule payment
Manually trigger a payment for a failed scheduled entry in a subscription. Provide the scheduleId from the subscription's schedule array.
path Parameters
scheduleIdSchedule entry ID
Headers
authorizationRetry failed schedule payment › Responses
Schedule payment retried.
Upload subscription attachments
Upload attachment files to associate with a subscription (e.g. contracts, agreements). Use the returned file path objects in the attachments field when creating or updating a subscription.
File limits: Up to 10 files per request, max 25 MB total.
Supported formats: JPG, PNG, PDF.
Upload subscription attachments › Responses
Files uploaded.
message