Retrieves the billing history for a specific recurring subscription. Returns a list of invoice records, each containing the billing date, amount, transaction identifiers, and result code for that cycle. No transaction is processed and no vault record is modified.
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 Info 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}. This endpoint does not require card data, terminal numbers, or transaction amounts.
Subscription ID Required
The SubscriptionID field identifies which subscription's billing history to retrieve. It must be the value originally assigned when the subscription was created via /v1/recur/AddSubscription.
Read-Only Operation
This endpoint retrieves data only. No transaction is processed, no vault record is modified, and no charge is made to the cardholder.
All parameters are passed inside the Base64-encoded payload form field. Raw body format: auth-api-key=<key>&payload=<base64>. This endpoint does not require card data, terminal numbers, or transaction amounts.
Required fields
The example below uses the test endpoint and a sandbox API key. Replace credentials and base URL before going live.
Always returned
Conditionally returned β Invoice records
When returnCode is 00, the response includes an array of invoice records for the subscription. Each record represents one billing cycle attempt and contains the following fields.
The following codes apply to the overall query result returned in the top-level returnCode field. Individual invoice records within the response each carry their own returnCode reflecting the outcome of that billing cycle. For the complete catalogue see the Return Code Index.