GET
/
Invoice
/
send
/
{idInvoice}
curl --request GET \
  --url https://api-sandbox.payabli.com/api/Invoice/send/{idInvoice} \
  --header 'requestToken: <api-key>'
{
  "isSuccess": true,
  "responseText": "Success"
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

idInvoice
integer
required

Invoice ID

Example:

23548884

Query Parameters

mail2
string

Email address where the invoice will be sent to. If this parameter isn't included, Payabli uses the email address on file for the customer owner of the invoice.

attachfile
boolean
default:false

When true, attaches a PDF version of invoice to the email.

Response

200
application/json
Success
isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Example:

true

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"