Skip to content

CDN

Cash Discount Network - a processing model that lets merchants offer a discount for paying by cash, debit, or ACH instead of credit card.

Supports in this guide: Payments

Note

No independently verifiable public website could be confirmed for this provider - none is listed in OFT. Contact your account manager for onboarding details.


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

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

Prerequisites: get from CDN

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

  • Merchant ID -> Corefy field merchant_id.
  • Public key -> Corefy field public_key -> uploaded as a file.
  • Private key -> Corefy field private_key -> uploaded as a file.

EUR, USD.


Payments processing (connect H2H Merchant account, create payment-invoice)

Connect H2H Merchant account in Corefy Dashboard

Step 1 - Open connection form

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

Step 2 - Fill in fields and select settings

  • Merchant ID
  • Public key
  • Private key
  • Currency / Features -> choose values available for your account (EUR, USD)
  • Test Mode -> (enable if you are using sandbox credentials)

Success

You have connected CDN H2H Merchant account!


First request to Corefy API (MIN)

What it does: creates a payment-invoice; card data itself is collected and submitted separately by Corefy's checkout/SDK layer, not as part of this request. CVV is always required (no CVV-exempt mode), and 3D Secure control is not configurable for this connector.

Payment - MIN

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "0a4a417a-5774-4ca8-9a40-319b3636c4e7",
      "service": "payment_card_usd_hpp",
      "currency": "USD",
      "amount": 10,
      "customer": {
        "reference_id": "4c7c201c-e332-468b-8615-1e6fe86b331b"
      }
    }
  }
}

Important

customer.reference_id is required.

Payment - MAX

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "c22e66d5-48fa-41b0-b322-55a985204e50",
      "service": "payment_card_usd_hpp",
      "currency": "USD",
      "amount": 10,
      "customer": {
        "reference_id": "4c7c201c-e332-468b-8615-1e6fe86b331b",
        "name": "Test Customer",
        "email": "test@example.com",
        "date_of_birth": "2001-03-01",
        "address": {
          "full_address": "Main street 1",
          "country": "FR",
          "city": "Paris",
          "street": "Main street 1"
        }
      }
    }
  }
}

Important

No Constants are configured for this connector - if a customer field is missing, it's simply not sent, unless generate_customer_date_of_birth is enabled (see Options below).


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

  • ignore_callback -> optional, boolean - for cascading to work correctly, ignores CDN's asynchronous callback and relies only on an active status request to finalize the payment.
  • generate_customer_date_of_birth -> optional, boolean - when customer.date_of_birth is missing, generates and sends a synthetic date of birth to CDN instead of leaving the field empty.

Refunds

CDN 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 ignore_callback is enabled.
  2. No recurring - this connector does not support saving/charging a token through Corefy.

FAQ / Troubleshooting

  • Invalid credentials / auth error -> verify the Merchant ID and key pair for the selected environment (test_mode)
  • Payment declined for missing cardholder date of birth -> enable generate_customer_date_of_birth, or send customer.date_of_birth yourself
  • Currency or service is not supported -> confirm allowed currencies/features in your CDN account and in Corefy - only EUR and USD are available
  • Refund fails -> CDN does not support refunds through Corefy

Question

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