Check the status of a completed Swish payment. Returns payment reference and date received. This endpoint is crucial for verifying successful payments and triggering subsequent processes or user confirmations.
id string required Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/swish/payment curl -X GET "https://cloud.hostup.se/api/swish/payment?id=string" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"status": "string",
"paymentReference": "string",
"datePaid": "string",
"errorCode": "string",
"errorMessage": "string"
}
}