{ "opencollection": "1.0.0", "info": { "name": "CyberSource Merged Spec bankAccountValidation Invoices API", "version": "0.0.1" }, "items": [ { "info": { "name": "Invoices", "type": "folder" }, "items": [ { "info": { "name": "Get a List of Invoices", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/invoicing/v2/invoices", "params": [ { "name": "offset", "value": "", "type": "query", "description": "Page offset number." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items you would like returned." }, { "name": "status", "value": "", "type": "query", "description": "The status of the invoice.\n\nPossible values:\n - DRAFT\n - CREATED\n - SENT\n - PARTIAL\n - PAID\n - CANCELED\n" } ] }, "docs": "Provides a (filtered) list of invoices that have been created in your account. You can filter the list based on Invoice Status by setting the status query parameter to one of DRAFT, CREATED, SENT, PARTIAL, PAID or CANCELED." }, { "info": { "name": "Create a New Invoice", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/invoicing/v2/invoices" }, "docs": "The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device. You can either use the system generated email or use the invoice payment link in your own communication. You can add discounts and taxes for the entire invoice or for each line item. To customize the invoice to match your brand see [Invoice Settings](https://developer.cybersource.com/api-reference-assets/index.html#invoicing_invoice-settings_update-invoice-" }, { "info": { "name": "Get Invoice Details", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/invoicing/v2/invoices/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The invoice number." } ] }, "docs": "You can retrieve details of a specific invoice. This can be used to check the Invoice status and get a list of invoice payments in the invoice history section of the response. For each payment transaction you can use the Transaction Details API to get more details on the payment transaction." }, { "info": { "name": "Update an Invoice", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/invoicing/v2/invoices/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The invoice number." } ] }, "docs": "You can update all information except the invoice number till any payment is received for an invoice. Invoices that are partially or fully paid or cancelled cannot be updated." }, { "info": { "name": "Send an Invoice", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/invoicing/v2/invoices/:id/delivery", "params": [ { "name": "id", "value": "", "type": "path", "description": "The invoice number." } ] }, "docs": "You can send an invoice in draft or created state or resend a sent or partially paid invoice. Fully paid or canceled invoices cannot be resent." }, { "info": { "name": "Cancel an Invoice", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/invoicing/v2/invoices/:id/cancelation", "params": [ { "name": "id", "value": "", "type": "path", "description": "The invoice number." } ] }, "docs": "You can cancel an invoice if no payment is made to it. You cannot cancel partially or fully paid invoices." }, { "info": { "name": "Publish an Invoice", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/invoicing/v2/invoices/:id/publication", "params": [ { "name": "id", "value": "", "type": "path", "description": "The invoice number." } ] }, "docs": "You can publish an invoice in DRAFT status. After invoking this method, the invoice status is changed to CREATED." } ] } ], "bundled": true }