Partial update paymentAsk AIpatch https://api.wafeq.com/v1/payments/{id}/Endpoint for partially updating an existing payment.Path ParamsidstringrequiredBody ParamsamountdoubleThe total amount of the payment including fees. Must be greater than zero.bill_paymentsarray of objectsA list of objects to represent bill payments. Required if paying bills.bill_paymentsADD objectcontactstringThe unique identifier of the contact associated with this payment.cost_centerstring | nullThe unique identifier of the cost center associated with this payment.credit_note_paymentsarray of objectsA list of objects to represent credit note payments. Required if applying credit notes.credit_note_paymentsADD objectcurrencystringenum AED - AED SAR - SAR USD - USD $ EUR - EUR € CAD - CAD $ AFN - AFN ؋ ALL - ALL Lek AMD - AMD դր. ARS - ARS $ AUD - AUD $ ... Full information for CurrencyEnumAEDSARUSDEURCADAFNALLAMDARSAUDAZNBAMBDTBGNBHDBIFBNDBOBBRLBWPBYNBZDCDFCHFCLPCNYCOPCRCCVECZKDJFDKKDOPDZDEGPERNETBGBPGELGHSGNFGTQHKDHNLHRKHUFIDRILSINRIQDIRRISKJMDJODJPYKESKHRKMFKRWKWDKZTLBPLKRLYDMADMDLMGAMKDMMKMOPMURMXNMYRMZNNADNGNNIONOKNPRNZDOMRPABPENPHPPKRPLNPYGQARRONRSDRUBRWFSDGSEKSGDSOSSYPTHBTNDTOPTRYTTDTWDTZSUAHUGXUYUUZSVESVNDXAFXOFYERZARZMWShow 115 enum valuesdatedateThe date when the payment was made or received.debit_note_paymentsarray of objectsA list of objects to represent debit note payments. Required if paying debit notes.debit_note_paymentsADD objectemployeestringThe unique identifier of the employee associated with this payment. Required for payslip payments.external_idstringlength ≤ 255External identifier for the payment.invoice_paymentsarray of objectsA list of objects to represent invoice payments. Required if paying invoices.invoice_paymentsADD objectpaid_through_accountstringThe account used for this payment. Must be a valid payment account.payment_feesdoubleThe fees paid for this payment. If set, must be greater than zero.payment_fees_accountstring | nullThe account to categorize the payment fees. Required if payment_fees is set.payslip_paymentsarray of objectsA list of objects to represent payslip payments. Required if paying payslips.payslip_paymentsADD objectprojectstring | nullThe unique identifier of the project associated with this payment.referencestringHeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestResponse 200Updated 7 months ago