Skip to content

Logo

Kasha

A Payment Processing Platform built for growth. Whether you run a big marketplace or a small online business, our user-friendly tools will help you streamline and customize your payments.

Website: kasha.io

Set up Account H2H merchant account

Step 1: Create Merchant Account

To create an account send connection request at the kasha.io/contact-us or contact manager directly. Submit the required documents to verify your account and gain access.

Step 2: Get required credentials

Credentials that have to be issued:

  • kasha__api_key → API Key
  • kasha__signature_key → Signature Key
  • kasha__test_mode → Test mode
  • asha__currency → choose currency (You can set these parameters according to available currencies and features for your Kasha wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)

Connect Merchant Account

Step 1. Connect H2H account at the Corefy Dashboard

Press Connect at Kasha Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.

Connect

Enter credentials:

  • API Key
  • Signature Key
  • Test mode → true/false

Success

You have connected Kasha H2H merchant account!

Set up Account Provider account

Step 1: Create Provider account

To create an account send connection request at the kasha.io/contact-us or contact manager directly. Submit the required documents to verify your account and gain access.

Step 2: Get required credentials

Credentials that have to be issued:

  • kasha__merchant_id → Merchant ID
  • kasha__api_key→ API Key
  • kasha__signature_key → Signature Key

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

Press Connect at Kasha Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.

Connect

Enter credentials:

  • Merchant ID
  • API Key
  • Signature Key

Success

You have connected Kasha Provider account!

API examples CardGate:

Minimum data set to create a payment invoices for payment_card_usd_hpp service

SALE
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"payment_card_usd_hpp",
      "commerce_account":"Hello World",
      "currency":"USD",
      "amount":53.5,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"85af8385-d00e-4f58-ab1f-3a527fdf2d3b"
        "name":"John Wick"
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"d9a8b2e8-d1e1-40b2-8a57-0d425f7fee5f",
      "service_fields":[
      ]
    }
  }
}

Maximum data set to create a payment invoices for payment_card_usd_hpp service

SALE

{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"payment_card_usd_hpp",
      "commerce_account":"Hello World",
      "currency":"USD",
      "amount":11,25,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"85af8385-d00e-4f58-ab1f-3a527fdf2d3b"
        "name":"John Wick",
        "email":"[email protected]",
        "phone":"+2134234234523",
        "ip":"127.0.0.1",
        "address":{
          "street":"Baker street",
          "country":"GB",
          "zipCode":"12345",
          "city":"London"
        },
        "test_mode":true,
        "options":{
          "allow_partially":false,
          "bypass_hpp":false,
          "send_operation_context_on_return":false
        },
        "reference_id":"d9a8b2e8-d1e1-40b2-8a57-0d425f7fee5f",
        "service_fields":[
        ]
      }
    }
  }

API examples Payment Gateway:

Minimum data set to create a payment invoices for bank_transfer_aggregated_eur_hpp service

in order for the recording to be successful, you must fill in the country, name, email, phone, country, ip, street, customer_country, post_code, city, language, user_device, user_agent constants

PAYMENT

POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"bank_transfer_aggregated_eur_hpp",
      "commerce_account":"Hello World",
      "currency":"EUR",
      "amount":1,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"123123"
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"390b176c-df24-4019-b47f-f6bb4dcf9df3",
      "service_fields":[
      ]
    }
  }
}

Maximum data set to create a payment invoices for bank_transfer_aggregated_eur_hpp service

PAYMENT

POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"bank_transfer_aggregated_eur_hpp",
      "commerce_account":"Hello World",
      "currency":"EUR",
      "amount":1,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"5656565656",
        "name":"John Wick",
        "email":"[email protected]",
        "phone":"551198***4321"
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"2ffc8b5b-e6ae-4a9c-bd41-0817c21dc8d8",
      "service_fields":[
      ]
    }
  }
}

Constants

Сonstants

If some parameters are not sent in the transaction creation request, they will take the values from the set constants.

Here is a list of constants with their corresponding parameters:

  • COUNTRY → customer [address] [country]
  • NAME → customer [name]
  • EMAIL → customer [email]
  • PHONE → customer [phone]
  • IP → customer [ip]
  • STREET → customer [address] [street]
  • CUSTOMER_COUNTRY → customer [address] [country]
  • POST_CODE → customer[address][post_code]
  • CITY → customer [address] [city]
  • LANGUAGE → constants [language]
  • REGION → customer [address] [region]
  • USER_DEVICE → constants [user_device]
  • USER_AGENT → constants [user_agent]

Question

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