Update an InvoiceCopy Pageput https://api.tap.company/v2/invoices/{invoice_id}Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path Paramsinvoice_idstringrequired[Required]Body ParamsdraftbooleanMerchant can save the invoice without creating the actual invoice. The default value will be false.truefalsedueint32requiredInvoice Due Date; measured in seconds since the Unix epoch.expiryint32requiredInvoice Expiry Date; measured in seconds since the Unix epoch.descriptionstringInvoice descriptionmodestringInvoice mode- how the invoice page is showed to customers (INVOICE - Open invoice page, PAY - Open payment page, INVOICEPAY - Open invoice page and payment page.notestringIt will be added in the invoice footer.notificationsobjectNotification object. By default, the invoice will be dispatched automatically.notifications objectchannelsarray of stringsNotifications channels.channelsADD stringdispatchbooleanMerchant can specify the field, dispatch the invoice or not.truefalsecurrenciesarray of stringsCharge currency object. If you pass null or empty, all currencies will show.currenciesADD stringmetadataobjectSet of key/value pairs that you can attach to an object. It can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.metadata objectchargeobjectCharge Objectcharge objectcustomerobjectrequiredCustomer object; Either customer ID or customer information is required.customer objectorderobjectrequiredOrder Object; Either order id or order information is required.order objectpayment_methodsarray of stringsCharge payment method object, if you pass null or empty, then all payment methods will show.payment_methodsADD stringpostobjectPost url object.post objectredirectobjectRedirect url object.redirect objectreferenceobjectMerchant reference object.reference objectinvoicerobjectEmail notification to merchant.invoicer objectpayment_providerobjectInformation about the payment provider associated with this invoicepayment_provider objectHeaderslang_codestringoptionalResponses 200200 400400Updated 11 months ago