Updates the status of a recurring invoice. Use this endpoint to activate, suspend, or otherwise change the processing state of a specific invoice within a subscription.
Version: v1.0 | Last updated: 2026-05-15 | Author: Annick Lachapelle
Invoice Status Values
API Key
Generate your API key from the Payments Manager: Administrator Client β API Key β Add New Key. Pass it as auth-api-key in every request.
Company & Merchant Numbers
Your CompanyNumber (5-digit) and MerchantNumber (8-digit) are issued by PayFacto during onboarding. Both are required on every Modify Invoice request.
Environment Base URL
Test: https://test.api.payfacto.cloud/v1 | Production: Provided by the PayFacto Integration team upon certification.
Request Format β Base64-Encoded Payload
Requests use HTTP POST with an application/x-www-form-urlencoded body. Assemble all parameters as a cleartext query string, Base64-encode it, then send: auth-api-key={key}&payload={base64}.
Existing Invoice
The invoice identified by CustomerNumber and InvoiceNumber must already exist in the PayFacto recurring billing system. Use Recurring β Info Invoice to confirm the invoice exists and review its current status before modifying.
All parameters are passed inside the Base64-encoded payload form field. Raw body format: auth-api-key=<key>&payload=<base64>. Only the Status field is changed; all other invoice attributes remain unchanged.
Required fields
The example below uses the test endpoint and a sandbox API key. Replace credentials and base URL before going live.
The source specification does not designate any response fields as unconditionally mandatory for this endpoint. Always check recurReturnCode first. The remaining fields reflect the full state of the invoice and its associated subscription after the update.
Response fields
The following codes are specific to this endpoint. For the complete catalogue see the Return Code Index.