Create subscription with credit cardAsk AIpost https://api-sandbox.asaas.com/v3/subscriptions/--Body ParamscustomerstringrequiredUnique customer identifier in AsaasbillingTypestringenumrequiredBilling typeBOLETOUNDEFINEDBOLETOCREDIT_CARDPIXAllowed:UNDEFINEDBOLETOCREDIT_CARDPIXvaluenumberrequiredSubscription valuenextDueDatedaterequiredFirst payment duediscountobjectDiscount informationdiscount objectinterestobjectInterest information for payment after due dateinterest objectfineobjectFine information for payment after due datefine objectcyclestringenumrequiredBilling frequencyMONTHLYWEEKLYBIWEEKLYMONTHLYBIMONTHLYQUARTERLYSEMIANNUALLYYEARLYAllowed:WEEKLYBIWEEKLYMONTHLYBIMONTHLYQUARTERLYSEMIANNUALLYYEARLYdescriptionstringSubscription description (max. 500 characters)endDatedateDeadline for payments to be duemaxPaymentsint32Maximum number of payments to be generated for this subscriptionexternalReferencestringSubscription identifier on your systemsplitarray of objectsSplit informationsplitADD objectcallbackobjectAutomatic redirection information after the payment of the link paymentcallback objectcreditCardobjectrequiredCredit card informationcreditCard objectcreditCardHolderInfoobjectrequiredCredit card holder informationcreditCardHolderInfo objectcreditCardTokenstringCredit card token for using the credit card tokenization functionality. If informed, the fields above are not mandatory.remoteIpstringrequiredIP from where the customer is making the purchase. Your server's IP must not be entered.Responses 200Ok 400Bad Request 401UnauthorizedUpdated 6 months ago