DCM Platform Guide
  • 🌐DCM platform
  • ⚙️Specifics of working with the API
    • 🔐Security stack
    • 🔑Key Generation
    • 🔐Data encrypting
    • 🪃Retry policy
  • 🎨Design guide
  • 🗂️DCM platform's artifacts
  • 🏦Bank
    • 📋Preparing for integration
    • 🏪E-commerce
      • 📦Order and payment
      • 📨Payment message
        • 1️⃣Validation
        • 2️⃣Сallback 1 “Pay-in”
        • 3️⃣Callback 3 “Pay-out”
        • 4️⃣Callback 4 "Credit callback"
      • 🎯Testing
      • 🖇️Merchant Onboarding
      • ⛔Error reference guide
    • 🗃️Alias database
      • 🗝️Adding alias
      • ↕️"Сallback "Alias updated"
      • ☑️Get alias status
    • 💸p2p transfers
      • 📲p2p by phone number
        • ⏺️p2p order (to pay)
        • 🔍Receiver search
        • 🗂️Get receiver's data
        • ⏪Callback "Pay request"
      • 🖇️p2p by deeplink or QR code
        • ⏺️p2p order (to request)
        • Pay request initiation
      • 📨Payment message
        • 1️⃣Validation
        • 2️⃣Сallback “Pay-in”
        • 3️⃣Callback "Pay-out"
    • 💲Gross settlement
      • 1️⃣Callback “Gross_Settlement”
      • 2️⃣Gross_settlement_list
      • 3️⃣Gross_settlement_by_id
      • 4️⃣Gross_settlement_pay
      • 5️⃣Gross_settlement_confirm
      • 6️⃣Gross_settlement_confirm_internal
      • 📧Email notification
    • ✔️Reconciliation
  • 🏢Merchant
    • 🏫DCM platform for Merchants
      • 🔠Integration options
    • 👨‍🏫Preparing for integration
      • ⚙️Working with the API
      • 🔑Key Generation
      • 🖥️Updating interfaces
    • 🏪E-commerce
      • 📦Order
        • 💵Payment through the DCM platform
        • 💳Payment on the Merchant's website
        • 📋Emitters
        • 📬Order status
      • 1️⃣Сallback "Pay-in"
  • 📑Document data
    • 🆕Version history
    • 📃Change log
Powered by GitBook
On this page
  1. Bank
  2. E-commerce

Error reference guide

This page contains a list of all potential errors that may occur while working with the API.

GET/merchants/order/nbu/json

DCM platform checks the existence of an order using the provided order_id. If the order is not found, DCM platform returns an appropriate error:

{
    "error": "func GetMerchantsOrderNbuJSONHandler() failed. Error: failed to get order by ID: get order by guid err: order not found"
}

POST/payment_message

When receiving a request to create a Payment Message, DCM platform performs the following checks:

  1. Verifies the existence of a Payment Message with matching order details.

If such a Payment Message exists, the response is:

{
    “error”: “payment message with provided order id already exists”,
    “payment_message_guid”: “10f6e03c-7769-4d83-a600-fa642f856105"
}
  1. For the existence of a Payment Message with an identical JTI.

If such a Payment Message exists, the response is:

{
    “error”: “payment message with provided jti already exists”,
    “payment_message_guid”: “fc436ab7-0cc0-47fb-801e-4ab86f3c5e00"
}

GET Method to Retrieve Payment Message Status

When processing a request to retrieve the status, DCM platform verifies the existence of the Payment Message with the specified details. If the DCM platform is not found, the error returned is:

{
    "error": "not found"
}

PreviousMerchant OnboardingNextAlias database
🏦
🏪
⛔