Invoicing

Text the public pay-online link for a payable invoice

Sends an SMS with the invoice payment URL via Twilio. Requires an open balance, active Stripe Connect, and a usable contact phone (or body.phone override). Does not mark the invoice paid. Opted-out numbers are rejected.

post/invoices/{id}/text-payment-link

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/invoices/{id}/text-payment-link
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Path parameters

idstring uuid required

Invoice UUID

Request body

phonestring

Optional one-off mobile number; defaults to the customer contact phone

Response

SMS accepted for delivery; returns phone, url, token

Changes

No recorded changes to this operation across all 5 revisions of this API.