This endpoint verifies whether a given transfer is eligible to be clawed back. It performs non-mutating checks only and DOES NOT initiate a clawback. The goal is to prevent double-spend and ensure only genuine stuck funds are considered for clawback.
To be eligible for clawback, a transfer must:
Body:
spark_transfer_id - Transfer ID to evaluate for clawbackAuth:
Authorization header - the public key from the token is verified against the
transfer sender in Sparkscan to ensure only the original sender can check eligibility200 OK with CheckClawbackEligibilityResponse:accepted: true if the transfer is eligible for clawbackaccepted: false with error message if ineligible (reserved, claimed, too old, not found,
etc.)400 Bad Request if request payload validation fails401 Unauthorized if authentication fails or token is invalidBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Transfer to evaluate for clawback eligibility
Request body for clawing back stuck funds.
Clawbacks allow users to recover funds that were sent but were not processed correctly. This is a safety mechanism to prevent permanent loss of funds due to system failures or edge cases.
Spark transfer ID or transaction ID of the original payment. This is the transfer that needs to be clawed back.
"550e8400-e29b-41d4-a716-446655440000"
Eligibility result