Skip to main content

PayInvoiceByMpesa initiates an STK push for the invoice's amount due.

POST 

/api/v1/billing/invoices/:invoiceId/pay/mpesa

Authorization

Requires billing:read permission.

Errors

  • NOT_FOUND: Invoice does not exist or belongs to another organization
  • FAILED_PRECONDITION: Invoice is not open or has nothing due

Request

Responses

A successful response.