Create new payment with summary data in responseAsk AIpost https://api-sandbox.asaas.com/v3/lean/paymentsRequired permission: PAYMENT:WRITEBody 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 AsaasResponses 200Ok 400Bad Request 401UnauthorizedUpdated 3 months ago