Synswi
  1. Invoice
Synswi
  • 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
    • Get a payment instrument by id
      GET
  • Transactions
    • Get a transaction by id
      GET
    • Get transactions
      GET
    • Create a transaction
      POST
  1. Invoice

Send Invoice

POST
https://api-sandbox.synswi.com/v1/invoices/send

Request

Body Params application/json
invoiceId
string 
required
email
string 
required
Example
{
    "invoiceId": "invoice-c323687e-4795-46c4-a2e7-61e2b7523dfb",
    "email": "lx864079393@gmail.com"
}

Request 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-sandbox.synswi.com/v1/invoices/send' \
--header 'Content-Type: application/json' \
--data-raw '{
    "invoiceId": "invoice-c323687e-4795-46c4-a2e7-61e2b7523dfb",
    "email": "lx864079393@gmail.com"
}'

Responses

🔴500Server Error
application/json
Body
message
string 
required
Example
{
    "message": "string"
}
Previous
Pay an invoice
Next
Update an invoice
Built with