Create an InvoiceAsk AIpost https://api.tap.company/v2/invoices/Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsdraftbooleanDefaults to falseMerchant can save the invoice without creating the actual invoice. The default value will be false.truefalseduedoublerequiredDefaults to 1672235072000Invoice Due Date; measured in seconds since the Unix epoch.expirydoublerequiredDefaults to 1672235072000Invoice Expiry Date; measured in seconds since the Unix epoch.descriptionstringDefaults to test invoiceInvoice description.modestringDefaults to INVOICEInvoice mode- how the invoice page is showed to customers (INVOICE - Open invoice page, PAY - Open payment page, INVOICEPAY - Open invoice page and payment page.notestringDefaults to test noteIt will be added to the invoice footer.notificationsobjectNotification object. By default, the invoice will be dispatched automatically.notifications objectcurrenciesarray of stringsDefaults to KWDCurrencies object. If you pass a null or empty value for the charge currency object, all available currencies will be displayed.currencies stringADD 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 Object.charge objectcustomerobjectrequiredCustomer object; either customer ID or customer information is required.customer objectstatement_descriptorstringDefaults to testorderobjectrequiredOrder object; either order ID or order information is requiredorder objectpayment_methodsarray of stringsCharge payment method object. If you pass a null or empty value, then all available payment methods will be displayed and If you want to send link with specific payment method you can add "BENEFIT","VISA", "MASTERCARD", "APPLE_PAY"payment_methodsADD stringpostobjectPost url object.post objectredirectobjectRedirect url object.redirect objectreferenceobjectMerchant reference object.reference objectretry_for_capturedbooleanDefaults to trueWhen set to false, the default behavior shifts, redirecting customers to the merchant's designated "redirect.url" instead of the invoice page upon an unsuccessful transaction.truefalsepayment_providerobjectInformation about the payment provider associated with this invoicepayment_provider objectHeaderslang_codestringoptionalResponses 200200 400400Updated 10 months ago