Exception Handling
During initialization and payment confirmation, errors might occur.
Retryability
There are two main types of errors: retryable and non-retryable. If the Skrill Merchant is configured to accept multiple payment attempts per payment session, all errors will be retryable. In case of a non-retryable error, the merchant has to initiate a new Payment Session.
Error schema
Errors contain the following properties:
Property | Type | Description | Example |
---|---|---|---|
code | string | Error code (see the Error Catalog) | 5204 |
message | string | Gives details about the error | Transaction declined - exceeds customer's transaction limit |
amount | number | Shows the limit amount (both for min and max limit violation, see the Error Catalog) | 1000 |
retryable | boolean | Shows whether the error is retryable | true |