Skip to content

2click

A convenient service for bright people.

Supports in this guide: Payouts

Provider website: 2click.money


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

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

Prerequisites: get from 2click

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

  • Pass phrase -> Corefy field pass_phrase -> the passphrase you used when generating your key pair.
  • Public key -> Corefy field public_key -> uploaded as a file; your own public key, shared with 2click so they can verify your signed requests.
  • Private key -> Corefy field private_key -> uploaded as a file; used to sign your requests.
  • API URL (optional) -> Corefy field api_url -> leave as default unless your account manager tells you otherwise.

Important

You generate the key pair yourself (for example, with openssl genrsa/openssl rsa) and share only the public key with 2click - the private key and its passphrase never leave Corefy.

Note

If you need to whitelist IPs on 2click's side, ask your account manager and provide Corefy's IP list from the integration docs.

UAH only.


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

Connect Provider account in Corefy Dashboard

Step 1 - Open connection form

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

Step 2 - Fill in fields and select settings

  • Pass phrase
  • Public key
  • Private key
  • API URL (optional)
  • Test Mode -> (enable if you are using sandbox credentials)

Success

You have connected 2click Provider account!


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": "5e6f7a8b-9c0d-4e1f-8a02-5b6c7d8e9f0a",
      "service": "payment_card_uah",
      "currency": "UAH",
      "amount": 10,
      "fields": {
        "card_number": "4111111111111111"
      }
    }
  }
}

Important

  • fields.card_number is required - this is the only piece of recipient data 2click needs.
  • customer is not used at all for this connector - no customer fields are sent to 2click in any form.

Payout - MAX

There is no MAX variant - the request above already includes every field 2click's API accepts for a payout. No Options or Constants are configured for this connector.


Refunds

2click does not support refunds.


Additional info

  1. No active status request - 2click payouts don't expose a customer-triggered status check; Corefy keeps payout statuses up to date automatically via its own periodic reconciliation with 2click.
  2. No recurring - this connector does not support saving/charging a token through Corefy.

FAQ / Troubleshooting

  • Invalid credentials / auth error -> verify the pass phrase, public/private key pair and test_mode setting match the environment you're connecting to
  • Currency or service is not supported -> only UAH / payment_card_uah is available for this connector
  • Payout stuck in a pending state -> 2click status updates arrive via Corefy's own periodic reconciliation, not instantly on request; allow some time before investigating further

Question

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