Retrieve payment details by the payment_id returned from a subscription invoice. This payment_id identifies the payment generated for a subscription charge and can be used to confirm payment status, amount, and on-chain payment information.
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.
Payment ID returned by a subscription invoice, used to retrieve subscription charge payment details.
Retrieved successfully.
Payment session ID.
Total amount in minor units.
Merchant ledger currency, returned in lowercase.
Payment status. confirming is returned as processing; completed is returned as paid.
pending, processing, paid, failed, expired, canceled Creation time, Unix seconds.
Expiration time, Unix seconds.
Checkout URL.
Line items.
Tax amount in minor units.
Shipping amount in minor units.
Exchange rate when currency conversion applies.
Actual on-chain payment currency, for example USDT.
Target amount in target-currency minor units.
Rate lock time, Unix seconds.
Related subscription ID, returned for subscription payments.
Related invoice ID, returned for invoice or subscription payments.
Merchant metadata.