Skip to content

Logo

DragonTech

Supports in this guide: Payments

Provider website: dragontech88.com


What you need to do for start processing transactions (brief summary)

  1. Get your credentials (from DragonTech)
  2. Connect in Dashboard
  3. Send an API request

Prerequisites: get from DragonTech

Contact your DragonTech account manager to get your account verified and receive the following credentials.

  • Merchant ID -> Corefy field merchant_id.
  • Secret key -> Corefy field secret_key.
  • Payment provider account (PPA) -> Corefy field ppa.

Available currencies and services depend on the routes configured for your account - check with your Corefy account manager.


Payments processing (connect Provider account, create payment-invoice)

Connect Provider account in Corefy Dashboard

Step 1 - Open connection form

Open DragonTech in the provider directory and press Connect at DragonTech Provider Overview page in the New connection section.

Step 2 - Fill in fields and select settings

  • Merchant ID
  • Secret key
  • Payment provider account (PPA)

Success

You have connected DragonTech Provider account!


First request to Corefy API (MIN)

What it does: creates a payment-invoice and redirects the customer to DragonTech's hosted checkout.

Payment - MIN

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "cf58dbc1-5cf8-4622-8695-ef0d9595efae",
      "service": "payment_card_eur_hpp",
      "currency": "EUR",
      "amount": 27
    }
  }
}

Payment - MAX

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "4f9bd168-3ad0-4177-8ba9-7f5997927564",
      "service": "payment_card_eur_hpp",
      "currency": "EUR",
      "amount": 32,
      "customer": {
        "reference_id": "8c5a4832-45fc-49ad-bb8f-f38a4c46c685",
        "name": "John Wick",
        "email": "test@test.com",
        "phone": "445556667788",
        "date_of_birth": "2000-02-01",
        "address": {
          "country": "AW",
          "city": "City",
          "street": "Street",
          "post_code": "Postcode"
        },
        "metadata": {
          "client_ip": "3.65.180.235"
        }
      },
      "metadata": {
        "additional_fields": {}
      }
    }
  }
}

Important

  • customer.name is sent to DragonTech both as a combined full name and split into first/last name parts.
  • customer.metadata.client_ip is sent as the customer's IP address - it's taken from metadata, not a dedicated field.
  • metadata.additional_fields is forwarded to DragonTech as extra transaction data when your specific flow requires it.
  • If a customer field is missing, Corefy falls back to the matching Constant (below); if neither is set, that field is simply not sent.

Extended request (MAX)

Why add extra fields (typical reasons): - Provide additional customer details for compliance/reconciliation - Positively influence conversion rate - Include optional fields required by your specific flow


Options

  • finalize_on_fail -> optional, boolean - in rare cases a payment can change from a failed status to another status; enabling this option treats a failed status as final and ignores any later status change.

Constants (fallback fields)

Constants are static values that Corefy can send to the provider instead of dynamic data from your API request, when those fields are missing in the request.

Priority (predictable rule): 1. If a value is present in the request -> Corefy uses the request value 2. Else if the constant is set -> Corefy uses the constant 3. Else -> provider may reject the request or apply its defaults (depends on provider)

Currently available constants (constant -> Corefy API field)

  • CUSTOMER_ID -> customer.reference_id
  • FIRST_NAME -> customer.name (first part)
  • LAST_NAME -> customer.name (second part)
  • COUNTRY -> customer.address.country
  • CITY -> customer.address.city
  • FULL_ADDRESS -> customer.address.full_address
  • POST_CODE -> customer.address.post_code
  • EMAIL -> customer.email
  • PHONE -> customer.phone
  • BIRTH_DATE -> customer.date_of_birth
  • IP -> customer.metadata.client_ip

Refunds

DragonTech does not support refunds.


Additional info

  1. Active reconciliation is available - both the asynchronous callback and an active status request can finalize the payment, unless finalize_on_fail affects a failed payment's later status changes.
  2. No recurring - this connector does not support saving/charging a token through Corefy.

FAQ / Troubleshooting

  • Invalid credentials / auth error -> verify Merchant ID, Secret key and Payment provider account (PPA)
  • Currency or service is not supported -> confirm allowed currencies/features in your DragonTech account and in Corefy
  • A failed payment unexpectedly changes status -> enable finalize_on_fail to lock in the failed status permanently

Question

Still looking for help connecting your DragonTech account? Please contact our support team!