Skip to main content

Payments

The Payments API provides a comprehensive platform for processing transactions and managing the complete payment lifecycle.

Core Payment Operations

  • Create and process payments with multiple payment methods
  • Authorize payments and capture funds later
  • Cancel authorized payments to release reserved funds
  • Refund payments partially or in full
  • Generate detailed receipts for completed payments

Customer Experience Features

  • Send payment requests via WhatsApp, SMS, or Bizum
  • Create and distribute payment links through various channels
  • Generate permanent payment tokens for one-click checkout experiences
  • Support recurring billing and subscription payments

Implementation Best Practices

  • Create one payment per order or customer session for clear transaction records
  • Use the unique payment ID for all subsequent operations on a payment
  • Generate permanent payment tokens (with generatePaymentToken: true) for returning customers
  • Implement webhook notifications to receive real-time payment status updates

Payment Status Codes

The MONEI API returns a statusCode attribute in the Payment response to indicate the outcome of your request. This helps you understand whether an operation was successful or why it failed.

Success Codes

Successful transactions return the following codes:

CodeMessage
E000Transaction approved
E001Transaction pending processing
E002Transaction pending authentication
E003Transaction pending authorization

Error Codes

Error codes are grouped by category to help you quickly identify the type of issue:

Configuration Errors (E1xx)

These errors relate to account configuration issues:

CodeMessage
E101Error with payment processor configuration. Check this in your dashboard or contact MONEI for support
E102Invalid or inactive MID. Please contact the acquiring entity
E103Operation not allowed/configured for this merchant. Please contact the acquiring entity or MONEI for support
E104Partial captures are not enabled in your account, please contact MONEI support
E105MOTO Payment are not enabled in your account, please contact MONEI support

Authentication and Request Errors (E15x)

These errors indicate issues with your API request format or authentication:

CodeMessage
E150Invalid or malformed request. Please check the message format
E151Missing or malformed signature/auth
E152Error while decrypting request
E153Pre-authorization is expired and cannot be canceled or captured
E154The payment date cannot be less than the cancellation or capture date
E155The cancellation date exceeded the date allowed for pre-authorized operations
E156Unauthorized token

Transaction Processing Errors (E2xx)

These errors occur during payment processing:

CodeMessage
E200Transaction failed during payment processing
E201Transaction declined by the card-issuing bank
E202Transaction declined by the issuing bank
E203Payment method not allowed
E204Wrong or not allowed currency
E205Incorrect reference / transaction does not exist
E206Invalid payment method
E207Transaction failed: process time exceeded
E208Transaction is currently being processed
E209Duplicated operation
E210Wrong or not allowed payment amount
E211Refund declined by processor
E212Transaction has already been captured
E213Transaction has already been canceled
E214The amount to be captured cannot exceed the pre-authorized amount
E215The transaction to be captured has not been pre-authorized yet
E216The transaction to be canceled has not been pre-authorized yet
E217Transaction denied by processor to avoid duplicated operations
E218Error during payment request validation
E219Refund declined due to exceeded amount
E220Transaction has already been fully refunded
E221Transaction declined due to insufficient funds
E222The user has canceled the payment
E223Waiting for the transaction to be completed
E224No reason to decline
E225Refund not allowed
E226Transaction cannot be completed, violation of law
E227Stop Payment Order
E228Strong Customer Authentication required
E229Expired payment method

These errors are related to 3D Secure authentication:

CodeMessage
E300Transaction declined due to security restrictions
E3013D Secure authentication failed
E302Authentication process timed out. Please try again
E303An error occurred during the 3D Secure process
E304Invalid or malformed 3D Secure request
E305Exemption not allowed
E306Exemption error
E307Fraud control error
E308External MPI received wrong. Please check the data
E309External MPI not enabled. Please contact support
E310Transaction confirmation rejected by the merchant

These errors are specific to card payments:

CodeMessage
E500Transaction declined during card payment process
E501Card rejected: invalid card number
E502Card rejected: wrong expiration date
E503Card rejected: wrong CVC/CVV2 number
E504Card number not registered
E505Card is expired
E506Error during payment authorization. Please try again
E507Cardholder has canceled the payment
E508Transaction declined: AMEX cards not accepted by payment processor
E509Card blocked temporarily or under suspicion of fraud
E510Card does not allow pre-authorization operations
E511CVC/CVV2 number is required
E512Unsupported card type
E513Transaction type not allowed for this type of card
E514Transaction declined by card issuer
E515Implausible card data
E516Incorrect PIN
E517Transaction not allowed for cardholder
E518The amount exceeds the card limit

Digital Wallet Errors (E6xx)

These errors are related to digital wallet payments:

CodeMessage
E600Transaction declined during ApplePay/GooglePay payment process
E601Incorrect ApplePay or GooglePay configuration

These errors are specific to PayPal payments:

CodeMessage
E620Transaction declined during PayPal payment process
E621Transaction declined during PayPal payment process: invalid currency

These errors are specific to Bizum payments:

CodeMessage
E640Bizum transaction declined after three authentication attempts
E641Bizum transaction declined due to failed authorization
E642Bizum transaction declined due to insufficient funds
E643Bizum transaction canceled: the user does not want to continue
E644Bizum transaction rejected by destination bank
E645Bizum transaction rejected by origin bank
E646Bizum transaction rejected by processor
E647Bizum transaction failed while connecting with processor. Please try again
E648Bizum transaction failed, payee is not found
E649Bizum transaction failed, payer is not found
E650Bizum REST not implemented
E651Bizum transaction declined due to failed authentication
E652The customer has disabled Bizum, please use another payment method

These errors are specific to ClickToPay payments:

CodeMessage
E680Transaction declined during ClickToPay payment process
E681Incorrect ClickToPay configuration

These errors are specific to Cofidis payments:

CodeMessage
E700Transaction declined during Cofidis payment process

System Errors (E9xx)

These errors indicate system-level issues:

CodeMessage
E999Service internal error. Please contact support