Skip to main content

Error codes

The following will describe the error codes thrown and in which cases they can occur.

The error format for status code 409 will be the following:

{
"code": "2020",
"message": "Some description",
"correlationId": "8d72ece4-1b0b-464b-98d9-6bbb02199dc8"
}
CodeEndpoint(s)Description
2000POST /paymentsMerchant doesn't exist
2010POST /paymentsThe merchant isn't created by you
2020POST /paymentsThe merchant is deleted
2030POST /paymentsAllowed card types are not set
2040POST /paymentsOne or more of the allowed card types are invalid
2050POST /paymentsCurrency code is invalid
2100PUT payments/{paymentId:guid}/invalidateCan't invalidate payment with completed authorization attempt
2101PUT payments/{paymentId:guid}/invalidateCan't invalidate payment - the authorization attempt has not yet been patched with success or failure. Try again later.