Properties
| Name | Type | Required | Description |
|---|---|---|---|
| customer | String | ✅ | Unique customer identifier in Asaas |
| billingType | SubscriptionSaveWithCreditCardRequestBillingType | ✅ | Billing type |
| value | Double | ✅ | Subscription value |
| nextDueDate | String | ✅ | First payment due |
| cycle | SubscriptionSaveWithCreditCardRequestCycle | ✅ | Billing frequency |
| creditCard | CreditCardRequestDto | ✅ | Credit card information |
| creditCardHolderInfo | CreditCardHolderInfoRequestDto | ✅ | Credit card holder information |
| remoteIp | String | ✅ | IP from where the customer is making the purchase. Your server's IP must not be entered. |
| discount | PaymentDiscountDto | ❌ | Discount information |
| interest | PaymentInterestRequestDto | ❌ | Interest information for payment after due date |
| fine | PaymentFineRequestDto | ❌ | Fine information for payment after due date |
| 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<SubscriptionSplitRequestDto> | ❌ | Split information |
| callback | PaymentCallbackRequestDto | ❌ | Automatic redirection information after the payment of the link payment |
| creditCardToken | String | ❌ | Credit card token for using the credit card tokenization functionality. If informed, the fields above are not mandatory. |