Retrieve a single invoice by ID.
Documentation Index
Fetch the complete documentation index at: https://docs.stablepayfi.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer API Key, for example Bearer sk_live_xxx.
Unix timestamp in seconds. Must be within 5 minutes of server time.
Replay-protection nonce, 16-64 characters. Use a fresh UUID per request.
Lowercase hex HMAC-SHA256 of {timestamp}.{nonce}.{requestBody} signed with the merchant API Secret. For GET requests, requestBody is an empty string.
Unix timestamp in seconds. Must be within 5 minutes of server time.
Replay-protection nonce, 16-64 characters. Use a fresh UUID per request.
16 - 64Lowercase hex HMAC-SHA256 of {timestamp}.{nonce}.{requestBody} signed with the merchant API Secret. For GET requests, requestBody is an empty string.
Invoice ID.
Retrieved successfully.
Invoice ID.
"invoice"
Related subscription ID.
Customer ID.
Amount due in minor units.
Amount paid in minor units.
Amount remaining in minor units.
Currency.
Invoice status. Query values must be lowercase: open, paid, or void.
open, paid, void Invoice payment status.
pending, processing, completed, failed, canceled, expired Billing reason, for example subscription_create or subscription_cycle.
Billing period start, Unix seconds.
Billing period end, Unix seconds.
Creation time, Unix seconds.
Human-readable billing frequency, for example Monthly.
Recurring interval.
day, week, month, year Recurring interval count.
Related payment session ID. The API prefers payment_session_id and falls back to trade_order_id.
Payment completion time, Unix seconds.
Due date, Unix seconds.