Simulate opening a card dispute
Changed onOpen a dispute against an existing settled card transaction in the sandbox environment, as the card issuer would when a cardholder files a claim. Creates the dispute with an OPENED event on its timeline. The card issuer offers no dispute simulator, so the sandbox delivers the same dispute record the issuer's webhook would.
Production returns 404 on this path.
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/sandbox/cards/{id}/simulate/dispute_open
- AuthHTTP basic
Path parameters
The id of the card the dispute is filed against.
Request body
Example request
{
"cardTransactionId": "Transaction:019542f5-b3e7-1d02-0000-000000000100",
"amount": 1500,
"reason": "Merchandise not received"
}Response
The dispute was opened.
Example response
{
"id": "CardDispute:019542f5-b3e7-1d02-0000-000000000200",
"cardTransactionId": "Transaction:019542f5-b3e7-1d02-0000-000000000100",
"cardId": "Card:019542f5-b3e7-1d02-0000-000000000010",
"status": "OPEN",
"disposition": "WON",
"disputedAmount": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
},
"provisionalCreditAmount": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
},
"openedAt": "2026-05-08T14:30:00Z",
"issuerUpdatedAt": "2026-05-09T09:12:44Z",
"createdAt": "2026-05-08T14:30:05Z",
"updatedAt": "2026-05-09T09:12:46Z"
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
CORRIDOR_UNDER_MAINTENANCEenum value to theresponse property for the response status
- warning