Create new payment with credit cardAsk AIpost https://api-sandbox.asaas.com/v3/payments/--Body ParamscustomerstringrequiredUnique customer identifier in AsaasbillingTypestringenumrequiredPayment billing typeBOLETOUNDEFINEDBOLETOCREDIT_CARDPIXAllowed:UNDEFINEDBOLETOCREDIT_CARDPIXvaluenumberrequiredPayment amountdueDatedaterequiredPayment due datedescriptionstringPayment description (max. 500 characters)daysAfterDueDateToRegistrationCancellationint32Days after registration cancellation deadline (only for bank slip)externalReferencestringFree search fieldinstallmentCountint32Number of installments (only in the case of installment payment)totalValuenumberEnter the total amount of a charge that will be paid in installments (only in the case of an installment charge). If this field is sent, the installmentValue is not necessary, the calculation per installment will be automatic.installmentValuenumberValue of each installment (only in the case of installment payment). Send this field if you want to define the value of each installment.discountobjectDiscount informationdiscount objectinterestobjectInterest information for payment after due dateinterest objectfineobjectFine information for payment after due datefine objectpostalServicebooleanDefine whether the payment will be sent via postfalsetruefalsesplitarray of objectsSplit SettingssplitADD objectcallbackobjectAutomatic redirection information after the payment of the link paymentcallback objectpixAutomaticAuthorizationIdstringUnique identifier of the Pix Automatic authorization in AsaascreditCardobjectCredit card informationcreditCard objectcreditCardHolderInfoobjectCredit card holder informationcreditCardHolderInfo objectcreditCardTokenstringCredit card token for using the credit card tokenization functionalityauthorizeOnlybooleanCarry out only the Pre-Authorization of the paymenttruefalseremoteIpstringrequiredIP from where the customer is making the purchase. Your server's IP must not be entered.Responses 200Ok 400Bad Request 401UnauthorizedUpdated about 2 months ago