Sandbox
Simulate closing a card dispute
Changed onClose the transaction's open dispute with a disposition, as the card issuer does when the network process ends. A PARTIALLY_WON close is the one outcome whose split the caller names, with recoveredAmount; every other disposition recovers all of the disputed amount or none of it.
Production returns 404 on this path.
post/sandbox/cards/{id}/simulate/dispute_close
Request
- Base URL: https://api.lightspark.com/grid/2025-10-13
- URL: https://api.lightspark.com/grid/2025-10-13/sandbox/cards/{id}/simulate/dispute_close
- Auth: HTTP basic
Path parameters
idstring required
The id of the card the dispute is filed against.
Request body
Example request
{
"cardTransactionId": "Transaction:019542f5-b3e7-1d02-0000-000000000100",
"disposition": "WON",
"recoveredAmount": 400
}Response
The dispute was closed.
Example response
{
"disputeId": "019542f5-b3e7-1d02-0000-000000000200",
"disputeToken": "dispute_transaction_sandbox_5f8d2c1a",
"status": "OPEN",
"disposition": "WON"
}Changes
- info
endpoint added
- info