palbaseDocs

Palbase Payments · API

POST/payments/invoices/{invoice_id}/send

E-mail an invoice

Has the provider e-mail an open invoice collected by e-mail (send_invoice) to the payer. A card's invoice is not e-mailed (409 invoice_status_conflict).

Called by your server, with the project's secret key.

Path

invoice_idstring · requiredThe invoice's id, as Palbase gave it.
curl
curl -X POST "https://<your-ref>.palbase.studio/payments/invoices/<invoice_id>/send" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200OK

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation SendInvoice of payments's contract.