Skip to content

Logo

Crederes

Crederes is simple and easy

Supports in this guide: Payments, Payouts

Provider website: crederes.com


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

  1. Choose account type
  2. Get your credentials (from Crederes)
  3. Connect in Dashboard
  4. Send an API request

Choose account type

Crederes can be connected in different ways (depending on your needs):

  • If you do H2H card payments (card data sent directly) -> choose H2H Merchant account
  • If you do hosted-page card payments, or payouts -> choose Provider account

If you're not sure which one to use, confirm with your Corefy account manager.


Prerequisites: get from Crederes

Submit a connection request at crederes.com or contact your Crederes account manager directly, and submit the required documents to get your account verified.

For H2H Merchant account:

  • Token -> Corefy field token.
  • Requestor ID -> Corefy field requestor_id.
  • API URL -> Corefy field api_url.

For Provider account:

  • Consumer Key -> Corefy field consumer_key.
  • Token -> Corefy field token.
  • Access Token -> Corefy field access_token.
  • Private Key (file) -> Corefy field private_key.
  • Requestor ID -> Corefy field requestor_id.
  • Webhook Token (optional) -> Corefy field webhook_token -> used to verify callback notifications from Crederes, if your account requires it.
  • Username (optional) -> Corefy field username.
  • API URL (optional) -> Corefy field api_url.

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

Connect H2H Merchant account in Corefy Dashboard

Step 1 - Open connection form

Open Crederes in the provider directory and press Connect at Crederes Provider Overview page in the New connection section. Choose H2H Merchant account.

Step 2 - Fill in fields and select settings

  • Token
  • Requestor ID
  • API URL
  • Test Mode -> (enable if you are using sandbox credentials)

Choose Currency / Features; check with your Corefy account manager which are enabled for your account.

Success

You have connected Crederes 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. Crederes may return a 3D Secure challenge redirect depending on the card.

Payment - MIN

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "8e3dbbb0-17af-4c9a-bedb-93bdac6900a2",
      "service": "payment_card_eur_hpp",
      "currency": "EUR",
      "amount": 10
    }
  }
}

Payment - MAX

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "6795502c-e27d-4d07-85e0-93245aab9a3f",
      "service": "payment_card_eur_hpp",
      "currency": "EUR",
      "amount": 10,
      "customer": {
        "reference_id": "cus_123",
        "name": "John Smith",
        "email": "johnsmith@gmail.com",
        "phone": "+15551234567",
        "date_of_birth": "1990-01-01",
        "address": {
          "country": "FR",
          "region": "IDF",
          "city": "Paris",
          "street": "1 Main street",
          "post_code": "75000"
        },
        "metadata": {
          "website_url": "https://example.com"
        }
      }
    }
  }
}

customer is entirely optional - anything you don't send falls back to the Constants below, or is simply left blank on Crederes's side.

Note

If customer.metadata.website_url isn't sent, Crederes falls back to your merchant account's own profile website (if one is set).


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, excludes finalizing the payment from the asynchronous callback; Corefy then relies only on an active status request (reconciliation) to finalize it.
  • extended_threeds_data_waiting_time -> optional, boolean - extends the waiting time for receiving 3D Secure authentication data.
  • pending_refunds_on_invalid_response -> optional, boolean - when disabled (default), an invalid response from Crederes during a refund sets the refund to ERROR/PROVIDER_ERROR; when enabled, the same response instead sets it to PENDING/OK, reported as "the refund has not yet been processed on the provider's side."
  • prioritize_cardholder -> optional, boolean - by default, customer.name takes priority over the card's own embossed name for the first/last name sent to Crederes; enable this to prioritize the card's embossed name instead.

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)

  • FIRST_NAME -> customer.name (first part)
  • LAST_NAME -> customer.name (second part)
  • EMAIL -> customer.email
  • PHONE -> customer.phone
  • DATE_OF_BIRTH -> customer.date_of_birth
  • COUNTRY -> customer.address.country
  • REGION -> customer.address.region
  • CITY -> customer.address.city
  • POST_CODE -> customer.address.post_code
  • ADDRESS_LINE_1 / ADDRESS_LINE_2 -> customer.address.street

Refunds

Crederes supports partial and multiple refunds against the same payment.


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

Connect Provider account in Corefy Dashboard

Step 1 - Open connection form

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

Step 2 - Fill in fields and select settings

  • Consumer Key
  • Token
  • Access Token
  • Private Key
  • Requestor ID
  • Webhook Token (optional)
  • Username (optional)
  • API URL (optional)
  • Test Mode -> (enable if you are using sandbox credentials)

Success

You have connected Crederes Provider account!


First request to Corefy API (MIN)

What it does: creates a payment-invoice and redirects the customer to a hosted page to enter their card details.

Payment - MIN

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "8e3dbbb0-17af-4c9a-bedb-93bdac6900a2",
      "service": "payment_card_eur_hpp",
      "currency": "EUR",
      "amount": 10
    }
  }
}

Payment - MAX

POST /api/payment-invoices

{
  "data": {
    "type": "payment-invoice",
    "attributes": {
      "reference_id": "6795502c-e27d-4d07-85e0-93245aab9a3f",
      "service": "payment_card_eur_hpp",
      "currency": "EUR",
      "amount": 10,
      "customer": {
        "reference_id": "cus_123",
        "name": "John Smith",
        "email": "johnsmith@gmail.com",
        "phone": "+15551234567",
        "address": {
          "country": "FR",
          "region": "IDF",
          "city": "Paris",
          "street": "1 Main street",
          "post_code": "75000"
        },
        "metadata": {
          "ip": "203.0.113.5"
        }
      }
    }
  }
}

customer is entirely optional - everything is only used to prefill the hosted form, it never blocks the sale.


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

No Options or Constants are configured for this flow.


Payouts processing (connect Provider account, create payout-invoice)

Connect Provider account in Corefy Dashboard

Uses the same Provider account connection as Payments above - one connection covers both directions, nothing extra to fill in for payouts specifically.


First request to Corefy API (MIN)

What it does: creates a payout-invoice and sends funds directly to a card.

Payout - MIN

POST /api/payout-invoices

{
  "data": {
    "type": "payout-invoice",
    "attributes": {
      "reference_id": "0dde9e79-2c64-4703-adaf-93d710633401",
      "service": "payment_card_eur",
      "currency": "EUR",
      "amount": 10,
      "fields": {
        "card_number": "4111111111111111"
      }
    }
  }
}

Important

fields.card_number is required.

Payout - MAX

POST /api/payout-invoices

{
  "data": {
    "type": "payout-invoice",
    "attributes": {
      "reference_id": "3c6d2f8e-8a2a-4e7a-9b1a-2f6a7b9c0d1e",
      "service": "payment_card_eur",
      "currency": "EUR",
      "amount": 10,
      "customer": {
        "reference_id": "cus_123",
        "name": "John Smith",
        "email": "johnsmith@gmail.com",
        "phone": "+15551234567",
        "address": {
          "country": "FR",
          "city": "Paris",
          "street": "1 Main street",
          "post_code": "75000"
        }
      },
      "fields": {
        "card_number": "4111111111111111"
      }
    }
  }
}

customer is entirely optional - everything is only forwarded to Crederes as recipient details.


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

No Options or Constants are configured for this flow.


Additional info

  1. Callback routing is automatic - Corefy generates the callback/return URLs per transaction, nothing to configure in Crederes's own back-office.

FAQ / Troubleshooting

  • Invalid credentials / auth error -> verify the credentials for the selected account type and environment - H2H Merchant account and Provider account use entirely different credential sets
  • Refund stuck as pending after an invalid response -> this is expected if pending_refunds_on_invalid_response is enabled; disable it if you'd rather see a hard error instead
  • Currency or service is not supported -> confirm allowed currencies/features in your Crederes account and in Corefy

Question

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