The conventional HTTP response codes are used to indicate the success or failure of an API request. These can be viewed in Reports > API Logs.
Codes include:
The below is an example of an error response:
{
"errors": [
{
"errorType": "invalidRequest",
"code": "validationError",
"parameter": "Amount",
"message": "Amount must be greater than 0"
}
]
} invalidPaymentChannel
Invalid payment channel
invalidCvc
Invalid or not provided CVC parameter
invalidRefundAmount
Refund amount needs to be less or equal to available refund amount
declinedByAcquirer
Declined by acquirer
amountTooLarge
The specified amount is greater than the maximum amount allowed
amountTooSmall
The specified amount is less than the minimum amount allowed
maxVolumeExceeded
Max volume exceeded
restrictionByPid
Restriction by Payment ID
restrictionByEmail
Restriction by email
blacklisted
Transaction blacklisted
invalidPaymentSource
Invalid Payment Source
invalidBillingAddressCountry
Invalid Billing AddressCountry
invalidCurrency
Invalid Currency
declinedByBank
Common decline by bank
declinedByThreeDSecure
Declined by 3D Secure
authorizationFailure
Authorization failure
authorizationToTheChannelFailure
Authorization to the channel failure
channelConnectionError
Channel connection error
channelInvalidRefundRequest
Channel error, invalid refund request
threeDSecureCardNotEnrolled
The requested card is not 3D Secure enrolled
threeDSecureEnrolmentError
3D Secure Enrolment Error
threeDSecureAuthenticationError
3D Secure Authentication Error
HTTP Status code
400 BadRequest
Response Error
{
"errors": [
{
"type": "paymentError",
"code": "invalidPaymentChannel",
"message": "Invalid payment channel."
}
]
} Causes
This error can be returned due to the following:
Fixes
HTTP Status code
401 Unauthorized
Response Error
{
“errors”: [
{
“type”: “authenticationError”,
“code”: “authenticationFailure”,
“message”: “Authentication failure. Please, check your credentials.”
}
]
}
Causes
This error can be caused when creating a new transaction. This error is returned due to the following:
Fixes
POST https://api.quaife.net/v1/transactions/
Should you be interested in becoming a merchant, then please fill out the short form below and one of our specialists will be in touch shortly.
We are delighted that you are considering using Quaife as your payment partner. Fill in the form below & let’s get started.