Skip to content

Logo

KodaPay

Fast, Secure & Global Payment Solutions Empowering businesses with the most trusted payment solutions worldwide.

Website: kodapay.com

Set up Account Provider account

Step 1: Create Provider account

To create an account send connection request at the kodapay.com → Get Started in 4 Simple Steps 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:

  • kodapay__public_key → Public Key
  • kodapay__secret_key → Secret Key
  • kodapay__method → Method

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

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

Connect

Enter credentials:

  • Public Key
  • Secret Key
  • Method

Success

You have connected KodaPay Provider account!

API examples:

Minimum data set to create a payment invoices for nagad_wallet_bdt_hpp service

PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"nagad_wallet_bdt_hpp",
      "commerce_account":"hello_world",
      "currency":"BDT",
      "amount":200,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":false
        }
      },
      "test_mode":false,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "reference_id":"7989b4f0-ddb9-4ed7-93ac-6df6861affec",
      "service_fields":[
      ]
    }
  }
}

Maximum data set to create a payment invoices for nagad_wallet_bdt_hpp service

PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"nagad_wallet_bdt_hpp",
      "commerce_account":"hello_world",
      "currency":"BDT",
      "amount":200,
      "reference_id":"414c05e9-82ad-40a0-96e5-365ae0a862d5",
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":false
        }
      },
      "customer":{
        "reference_id":"b57de989-0032-4727-98d9-d83df8400031",
        "name":"John Doe",
        "email":"[email protected]",
        "phone":"01706123123"
      },
      "test_mode":false,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "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:

  • FIRST_NAME → customer [first_name]
  • LAST_NAME → customer [last_name]
  • PHONE → customer [phone]
  • EMAIL → customer [email]

Question

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