Receive and process feedback from Swish regarding completed payments. This updates invoice and order statuses and confirms payment receipt. A success ID is returned upon successful processing.
Accept Example Content-Type Example id string required payeePaymentReference string required paymentReference any required callbackUrl string required payerAlias any required payeeAlias string required message string required errorMessage any required status string · enum required ERROR PAID amount any required currency string required errorCode any · enum required BANKIDCL RF07 TM01 dateCreated string required datePaid any required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/swish/callback curl -X POST "https://cloud.hostup.se/api/swish/callback" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string",
"payeePaymentReference": "string",
"paymentReference": null,
"callbackUrl": "string",
"payerAlias": null,
"payeeAlias": "string",
"message": "string",
"errorMessage": null,
"status": "ERROR",
"amount": null,
"currency": "string",
"errorCode": "BANKIDCL",
"dateCreated": "string",
"datePaid": null
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true
}
} {
"id": "string",
"payeePaymentReference": "string",
"paymentReference": null,
"callbackUrl": "string",
"payerAlias": null,
"payeeAlias": "string",
"message": "string",
"errorMessage": null,
"status": "ERROR",
"amount": null,
"currency": "string",
"errorCode": "BANKIDCL",
"dateCreated": "string",
"datePaid": null
}