Properties
| Name | Type | Required | Description |
|---|---|---|---|
| customer | String | ✅ | Unique customer identifier in Asaas |
| billingType | ApiSubscriptionSaveRequestBillingType | ✅ | Billing type |
| value | Double | ✅ | Subscription value |
| nextDueDate | String | ✅ | First payment due |
| cycle | ApiSubscriptionSaveRequestCycle | ✅ | Billing frequency |
| discount | ApiPaymentDiscountDto | ❌ | |
| interest | ApiPaymentInterestRequestDto | ❌ | |
| fine | ApiPaymentFineRequestDto | ❌ | |
| description | String | ❌ | Subscription description (max. 500 characters) |
| endDate | String | ❌ | Deadline for payments to be due |
| maxPayments | Long | ❌ | Maximum number of payments to be generated for this subscription |
| externalReference | String | ❌ | Subscription identifier on your system |
| split | List<ApiSubscriptionSplitRequestDto> | ❌ | Split information |
| callback | ApiPaymentCallbackRequestDto | ❌ |