Retrieve a refund by the merchant-provided refund_id. The response includes the current status, on-chain transaction hash, and failure reason when applicable.
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.
Unique refund ID supplied by the merchant when the refund was created.
Retrieved successfully.
Refund details.
Merchant-supplied refund ID.
Payment identifier returned for subscription refund scenarios.
Merchant order ID, returned for normal payment refunds.
Refund amount in minor units.
Refund currency.
USDT, USDC Refund status. Newly created refunds usually return processing in the current implementation.
pending, processing, completed, failed, canceled Refund reason.
requested_by_customer, duplicate, fraudulent, expired_uncaptured Refund description.
Refund creation time, Unix seconds.
Merchant metadata.
Failure reason, returned when the refund failed.
charge_already_refunded, insufficient_funds, expired_or_canceled_card, declined_by_bank, lost_or_stolen_card, unknown On-chain transaction hash, returned after success.
Refund receipt number.
Processing completion time, Unix seconds. Returned after success, failure, or cancellation.