Cedar Partners API
  1. Development Tools
Cedar Partners API
  • Introduction
  • Getting Started
    • Data Model
    • Transaction Lifecycle
    • Authentication
    • API Environments
    • Webhooks Configuration
  • Development Tools
    • API Debugging
    • Error Codes
    • File URLs
  • API Documentation
    • Information
      • Get Countries
      • Get Currencies
    • Merchants
      • Create Merchant
      • Update Merchant
      • Get Merchant by ID
      • Get Merchants with Pagination
    • Onboarding
      • Onboarding Lifecycle
      • Get Legal Agreements
      • Accept Legal Agreements
      • Submit Merchant Onboarding
    • Receiver Accounts
      • Create Receiver Account
      • Update Receiver Account
      • Get Receiver Account by ID
      • Get Receiver Accounts with Pagination
    • Transactions
      • Payout (Crypto-to-Fiat)
        • Calculate FX Rate
        • Create Payout Transaction
        • Get Payout Transaction by ID
        • Get Payout Transactions with Pagination
        • Approve Payout Transaction Quote
        • Approve Payout Transaction Deposit
        • Cancel Payout Transaction
      • End to End (Fiat-to-Fiat)
        • Calculate FX Rate
        • Create End to End Transaction
        • Get End to End Transaction by ID
        • Get End to End Transactions with Pagination
        • Approve End to End Transaction Quote
        • Approve End to End Transaction Deposit
        • Cancel End to End Transaction
      • Collections (Fiat-to-Fiat)
        • Calculate FX Rate
        • Create Collections Transaction
        • Get Collections Transaction by ID
        • Get Collections Transactions with Pagination
        • Approve Collections Transaction Quote
        • Approve Collections Transaction Deposit
        • Cancel Collections Transaction
      • Get Payout Confirmation by Transaction ID
        GET
    • Utilities
      • Upload File
  1. Development Tools

Error Codes

Overview#

This guide provides a list of error codes returned by the Partners API, along with their descriptions.
Errors are structured in a consistent format to ensure clarity and ease of debugging.

Example Error Response#

{
    "exception": {
        "errorCode": "API_IP_NOT_WHITELISTED",
        "message": "Access Denied - IP not whitelisted"
    }
}

General Errors#

Error CodeDescription
INTERNAL_SERVER_ERRORInternal server error
RATE_LIMIT_EXCEEDEDRate limit exceeded
URL_INVALIDInvalid URL
RESOURCE_NOT_FOUNDResource not found
REQUIRED_FIELD_MISSINGRequired field missing
BAD_REQUESTRequest body is invalid
MOCKError in sandbox API
MOCK_INVALID_VALUEInvalid value for sandbox status update

Access Errors#

Error CodeDescription
API_KEY_MISSINGAPI key missing
API_KEY_INVALIDAPI key invalid
API_KEY_NO_ACCESSAccess Denied
API_SECRET_MISSINGAPI secret missing
API_SECRET_INVALIDAPI secret invalid
API_IP_NOT_WHITELISTEDAccess Denied - IP not whitelisted
CREDENTIALS_NOT_FOUNDFailed to find credentials

Merchant Errors#

Error CodeDescription
BUSINESS_KYC_NOT_VALIDMerchant KYC not valid
BUSINESS_NOT_ACTIVEMerchant not active
BUSINESS_CANNOT_UPDATE_VALIDCannot update merchant with verified KYC status

Transaction Errors#

Error CodeDescription
BUSINESS_REQUEST_CANCEL_FAILEDFailed to cancel transaction
BUSINESS_REQUEST_ACTION_UNAVAILABLEAction unavailable
BUSINESS_REQUEST_ACTION_FAILEDFailed to perform action
BUSINESS_REQUEST_INVALID_TO_AMOUNTInvalid payout amount
BUSINESS_REQUEST_SAME_TO_FROM_BUSINESSCannot perform transaction with the same deposit and payout merchant. The receiver account must belong to a different merchant.

Currency Errors#

Error CodeDescription
CURRENCY_NOT_FOUNDCurrency not found
INVALID_CURRENCYInvalid currency

Receiver Account Errors#

Error CodeDescription
BUSINESS_EXTERNAL_ACCOUNT_CANNOT_UPDATE_NON_PENDING_ACCOUNTCannot update non-pending account

Invoice Errors#

Error CodeDescription
BUSINESS_INVOICE_FAILED_TO_DOWNLOAD_INVOICEFailed to download invoice from URL
Modified at 2025-06-01 08:03:29
Previous
API Debugging
Next
File URLs
Built with