1. Integration
Partner API
  • Getting Started
    • Introduction
    • Authentication
    • Business Use Cases
  • API References
    • Partner Operations
      • Balances & Transaction History
        • Get Balances
        • Get Transaction History
        • Create Wallet
      • Currency Exchange
        • Retrieve Exchange Rate
        • Retrieve Exchange Rate and Create a Lock
        • Create and Finalize an Exchange
        • Retrieve Detailed Exchange Information
      • SEPA Transfers
        • Get SEPA Deposit Info
        • Get SEPA Deposit Contact List
        • Create a SEPA Transfer
        • Get SEPA Transfer Details
      • Crypto Withdrawal
        • Get Network Fee
        • Create Crypto Withdrawal
        • Get Crypto Withdrawal Details
      • Crypto Deposits
        • Update Travel Rule
      • Orders
        • Get Rates
        • Retrieve Order Rate and Create a Lock
        • Create and Finalize an Order
        • Get Order Details
      • Payment link & Checkout Link
        • Generate Payment Link
        • Generate Hosted Checkout
        • Get Payment Link Details
    • User Operations
      • Onboarding & KYC Flow
        • Create User Account
        • Method A: Add KYC File
        • Method B: Creating KYC Verification
        • Method B: Redirect to Verification
        • Method B: Get KYC Status
        • Add User Verification
        • Add POA File
      • Account Management
        • Update Existing User
        • Delete User
        • Suspend User
        • Unsuspend User
      • Balances & Transaction History
        • Get User Balances
        • Get User Transaction History
      • Currency Exchange
        • Retrieve Exchange Rate
        • Retrieve Exchange Rate and Create a Lock
        • Create and Finalize an Exchange
        • Retrieve Detailed Exchange Information
      • SEPA Transfers
        • Get SEPA Deposit Info
        • GET SEPA Deposit Contact List
        • Create a SEPA Transfer
        • Get SEPA Transfer Details
      • Crypto Withdrawal
        • Get Network Fee
        • Create Crypto Withdrawal
        • Get Crypto Withdrawal Details
      • Crypto Deposits
        • Update Travel Rule
      • Internal Transfers
        • Create a Transfer
        • Get Transfer Details
      • Virtual Cards
        • Create Virtual Card
        • Get All User Cards
        • Get Card Details
        • Update Card PIN
        • Block Card
        • Unblock Card
        • Get Card Limits
        • Update Card Limits
        • Delete Card
  • Integration
    • SDKs & Integration Guides
    • Transaction Processing
    • Error Handling
    • Rate Limiting
    • Webhooks
      • User & KYC Webhooks
        • User Balance Generation Webhook
        • KYC File Added Webhook
        • POA Verification Status Webhook
        • KYC Verification Status Webhook
        • Create Wallet Webhook
        • High Risk KYC Verification Webhook
      • Transfers & Payments Webhooks
        • Internal Transfer Webhook
        • IBAN Status Webhook
        • Partner SEPA Transfer Webhook
        • User SEPA Transfer Webhook
        • SEPA Deposit Webhook
        • Crypto Withdrawal Webhook
        • Crypto Deposit Webhook
        • Exchange Webhook
        • Card Transaction Webhook
        • Order Status Webhook
        • Payment Link Webhook
      • Card Webhooks
        • Card 3DS Code Webhook
        • Card Activation Code Webhook
  • Reference
    • Supported Countries
    • Supported Currencies
    • Fees
    • FAQ
    • Changelog
    • Support
  1. Integration

Error Handling

This page explains the error response model used across the Fintegence Partner API. Understanding the main error categories and how to react to them is essential for building a robust integration.

1. Standard API Errors (Business Logic)#

These errors relate to business logic, resource state, or permissions, and they use a consistent three-field structure.
Example:
{
  "errorCode": "P424",
  "errorName": "source-or-destination-required",
  "errorMessage": "Source or destination must be provided."
}
errorCode: A unique code such as P424 or P433 that can be used to drive application logic.
errorName: A readable identifier for the error type.
errorMessage: A detailed description intended for debugging, logging, and support analysis.

2. Validation Errors (P403)#

These errors are generated when the request payload fails format or schema validation, for example because of a missing required field, invalid enum value, or wrong value format.
Example:
{
  "errorCode": "P403",
  "errorMessage": "currency must be one of the following values: btc, eth, usdt. Amount can have at most 8 decimal places."
}

Key Characteristics#

Fixed Error Code: Validation failures always return errorCode: "P403".
No errorName: Validation errors omit the errorName field.
Concatenated Messages: The errorMessage field may contain multiple validation failures combined into a single string.
HTTP 400: These responses always return 400 Bad Request.
P403 Note
P403 is an aggregate validation error code. The errorMessage field may include multiple failed conditions in one response, such as invalid format, missing required values, or unsupported field content. For the full set of validation rules, refer to the relevant endpoint schema.

Best Practices for Error Handling#

Regardless of error type, a resilient integration should follow the same general approach.
1.
Check the HTTP Status Code First: Use the HTTP status code as the first signal that the request failed.
2.
Use errorCode for Logic:
Treat P403 as a general validation failure.
For other codes such as P424 or P433, implement specific handling where needed.
3.
Use errorName for Readable Classification: When present, errorName is a stable and readable identifier for application-level handling and diagnostics.
4.
Log errorMessage for Debugging: Always log the full errorMessage, but do not display raw technical errors directly to end users.

Common Error Codes Reference#

The tables below focus on commonly encountered or operationally important errors.

HTTP 400 - Bad Request Errors (Common)#

Error CodeError NameError Message Example
P403Validation Errorcurrency must be one of the following values...
P410invalid-currencyCurrency not found
P411user-existsUser exists
P412invalid-userUser does not exist
P424source-or-destination-requiredSource or destination must be provided.
P433insufficient-fundsInsufficient funds
P451forbidden-country-cardUser of this country cannot have card
P455user-suspendedUser suspended

HTTP 401 - Unauthorized Errors#

ResponseDescription
Access Denied. xo1API key not provided
Access Denied. xo2Invalid API key provided
Access Denied. xo3IP address not whitelisted (production)

HTTP 404 - Not Found Errors (Common)#

Error CodeError NameError Message Example
P421withdrawal-not-foundWithdrawal not found
P423transfer-not-foundTransfer not found
P425exchange-not-foundExchange not found
P463order-not-foundOrder not found
P464payment-link-not-foundPayment link not found

HTTP 202 - Accepted / Pending Responses#

Error CodeError NameError Message Example
P210poa-file-not-foundPOA file not yet uploaded.
P211poa-verification-pendingPOA verification pending
P212kyc-verification-pendingKYC verification pending
Previous
Transaction Processing
Next
Rate Limiting
Built with