Error Codes and Descriptions

In case of errors during operations via services, the system returns specific error codes. Here are the response and explanations of the error codes returned by the Paywall payment API:

Example response template returned by Paywall payment API:

Error Code Number
Error Code

-1

Payment not found

0

Success

1

Failure

2

Unexpected parameters

3

Unsupported payment provider

4

MerchantUniqueCode already exists

5

No suitable provider found for payment

6

Environment / Address configuration not found

7

The payment has already been completed.

8

Unexpected currency.

9

Unexpected installment.

10

Unexpected MerchantUniqueCode.

11

Unexpected MerchantSuccessBackUrl

12

Unexpected MerchantFailBackUrl

13

Unexpected cardholder

14

Unexpected card number

15

Unexpected card expiration date (Month)

16

Unexpected card expiration date (Year)

17

Unexpected payment detail

18

Unexpected card detail

19

The card has expired

20

Payment provider credentials are not configured

21

Stored card identifier (UniqueCode) is invalid

22

No stored card found

23

The stored card is inactive

24

The payment provider is not connected

25

The product list cannot be empty

26

The total amount of products must equal the transaction amount

27

In marketplace model accounts, MemberId cannot be empty

28

The product list contains invalid MemberId

29

Marketplace - Unexpected request

30

Marketplace - No products found to confirm

31

Marketplace - No payment found to confirm

32

Marketplace - Payment not found

33

Marketplace - No products found to report

34

Marketplace - No progress payment found

35

Marketplace - Progress payment has already been sent

36

The product list contains an invalid discount holder (DiscountOwnerType)

37

The product list contains an invalid discount type (DiscountType)

38

The product list contains an invalid discount percentage

39

The product list contains an invalid discount amount

40

The product list contains an invalid shipping type

41

The product list contains an invalid shipping currency

42

The product list contains an invalid shipping amount

43

No debt found

44

The amount must be greater than zero

45

The amount must be greater than zero

46

Unexpected ClientIp data

47

The merchant cannot be found

48

PayWatch payment status is invalid

49

PayWatch payment status ID is invalid

50

PayWatch action ID is invalid

51

PayWatch minute parameter is invalid

52

PayWatch webhook parameter is invalid

53

Unexpected basket shipping type

54

Unexpected basket shipping value

55

Unexpected basket discount type

56

Unexpected basket discount value

57

The calculated progress payment value cannot exceed the payment amount

58

Marketplace - Confirmation request contains invalid product

00

Payment error - General

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": ""
}

Last updated