Change of error messages for token based creditcard payments - External integration environment
Scheduled Maintenance Report for Swedbank Pay
Completed
The scheduled maintenance has been completed.
Posted Feb 14, 2024 - 10:30 CET
In progress
Scheduled maintenance is currently in progress. We will provide updates as necessary.
Posted Feb 14, 2024 - 10:00 CET
Scheduled
We will be making a change in the error messages that are given in response in the eCommerce API in the case that the requested Payment/One-Click/Recur/Unscheduled-token does not exist or is deleted.

The following new errorType will be introduced (only for Payment Order):
https://api.payex.com/psp/errordetail/paymenttokeninactive

In addition to the one that is in currently in use (for both Payment Instruments and Payment Order):
https://api.payex.com/psp/errordetail/inputerror

The flow will be as follows:

First, a check is made to verify if the token exists or not. If it does not exist, the API returns an error of the type "InputError". If, however, the token exists but is deleted, then the API returns an error of the type "TokenInactive".

Examples of the error messages are presented below.

InputError, in this instance for RecurrenceToken:
{
"type":"https://api.payex.com/psp/errordetail/inputerror",
"title":"Error in input data",
"status":400,
"instance":"https://api.payex.com/psp/probleminstance/00-e53deef0eb5e47bcb5ba1739bdd9086c-
b5512dfc02b74f07-01",
"detail":"Input validation failed, error description in problems node!",
"problems":
[
{
"name":"RecurrenceToken",
"description":"The given RecurrenceToken does not exist."
}
]
}


TokenInactive, in this instance for UnscheduledToken:
{
"type": "https://api.payex.com/psp/errordetail/paymenttokeninactive",
"title": "Payment token is inactive",
"status": 422,
"instance": "https://api.payex.com/psp/probleminstance/00-2fc18bd40743401596bf2de3b51ab16d-
bfebd4ae81ea8423-01",
"detail": "The given UnscheduledToken is inactive.",
"problems":
[
{
"name": "UnscheduledToken",
"description": "The given UnscheduledToken is inactive."
}
]
}

Do not hesitate to contact us via the ordinary support channels if any questions should arise.
Posted Feb 02, 2024 - 09:23 CET
This scheduled maintenance affected: Payment Solutions (m/ecom Card Payments).