Skip to content

Logo

Okpay

Payment gateway for the world

Website: okpay.dev

Set up Account Provider account

Step 1: Create Provider account

To create an account send connection request at the okpay.dev/contact 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:

  • Merchant Id
  • Merchant private key
  • Test mode

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

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

Connect

Enter credentials:

  • okpay__merchant_id → Merchant Id
  • okpay__merchant_private_key → Merchant private key
  • okpay_test_mode → true/false

Success

You have connected Okpay Provider account!

API examples:

Minimum data set to create a payout invoices for bank_transfer_vnd service

PAYOUT
POST /api/commerce/payout-invoices HTTP/1.0
{
  "data":{
    "type":"payout-invoice",
    "attributes":{
      "service":"bank_transfer_vnd",
      "commerce_account":"hello_world",
      "currency":"VND",
      "amount":5,
      "test_mode":true,
      "reference_id":"8a632a8a-1da4-4e6c-ade7-bbacd8313e0a",
      "fields":{
        "account_number":"123",
        "bank_code":"234",
        "beneficiary_full_name":"qwe qwe"
      },
      "options":{
        "attempts_limit":0,
        "split_mode":false,
        "allow_partially":false,
        "auto_process":false
      }
    }
  }
}

Question

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