Transactions
DeclineCallback
post/DeclineCallback
Request
- Base URLhttps://example.com:443
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"MachineId": 71234996,
"HwSerial": "0434334921100366",
"SparkTransactionId": "12c7cec2-c690-4425-9a1f-db0db60e2d8c",
"Status": {
"Verdict": "Declined",
"ErrorCode": 44,
"ErrorDescription": "Timeout on POS Device"
}
}Response
Success. A simple 200 OK server acknowledgment is sufficient.
Example response
{
"SparkTransactionId": "12c7cec2-c690-4425-9a1f-db0db60e2d8c",
"Status": {
"Verdict": "Declined",
"ErrorCode": 44,
"ErrorDescription": "Timeout on POS Device"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.