Synswi
  1. Invoice
Synswi
  • Guides
    • Getting Started With the API
  • API Reference
    • Accounts
      • Onboarding forms
        • Create a Onboarding Form
      • Get account setting
      • Update account setting
      • Get profile
      • Create new profile
      • Register webhook
    • Devices
      • Get Devices
    • Dispute
      • Get disputes
    • Invoice
      • Get invoice by id
        GET
      • Get invoices
        GET
      • Create an invoice
        POST
      • Pay an invoice
        POST
      • Send Invoice
        POST
      • Update an invoice
        POST
    • Payment instruments
      • Create a payment instrument
      • Get payment instruments
      • Get a payment instrument by id
      • Create a Payment Instrument
    • Transactions
      • Get a transaction by id
      • Get transactions
      • Create a transaction
    • Settlements
      • get settlements
      • get settlement entries
    • Identity
      • Register an user
      • Validate Token
      • Create an api key
      • List api keys
      • Get Users
    • Programs
      • Accounts
    • Permission
      • Verify user permissions
      • Get Account Users
  1. Invoice

Update an invoice

POST
https://api-dev.synswi.com/ivoices/update

Request

Body Params application/json

Example
{
    "invoiceId": "string",
    "recipient": {
        "name": "string",
        "email": "string"
    },
    "items": [
        "string"
    ],
    "allowedPaymentMethods": [
        "string"
    ],
    "cardPaymentOptions": {},
    "taxRate": 0,
    "taxAmount": 0,
    "status": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-dev.synswi.com/ivoices/update' \
--header 'Content-Type: application/json' \
--data-raw '{
    "invoiceId": "string",
    "recipient": {
        "name": "string",
        "email": "string"
    },
    "items": [
        "string"
    ],
    "allowedPaymentMethods": [
        "string"
    ],
    "cardPaymentOptions": {},
    "taxRate": 0,
    "taxAmount": 0,
    "status": "string"
}'

Responses

🟢200Success
application/json
Body

Example
{}
Previous
Send Invoice
Next
Create a payment instrument
Built with