Create paymentCopy Pagepost https://api.wafeq.com/v1/payments/Endpoint for creating a new payment.Body ParamsA ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializationsamountdoublerequiredThe 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 objectcurrencystringenumrequired 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 valuesdatedaterequiredThe 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_accountstringrequiredThe 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 201Updated 10 days ago