Skip to content

Logo

Flexify

FINTECH SOLUTIONS to MEET YOUR NEEDS

Website: flexify.finance

Set up Account Provider account

Step 1: Create Provider account

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

  • flexify__public_key -> Public Key
  • flexify__secret_key -> Secret Key
  • flexify__test_mode -> Test Mode

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

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

Connect

Enter credentials:

  • Public Key
  • Secret Key
  • Test Mode = true/false

Success

You have connected Flexify Provider account!

API examples:

Minimum data set to create a payout invoices for payment_card_xts service

PAYOUT
POST /api/commerce/payout-invoices HTTP/1.0
{
  "data":{
    "type":"payout-invoice",
    "attributes":{
      "service":"payment_card_xts",
      "commerce_account":"Hello World",
      "currency":"XTS",
      "amount":10,
      "customer":{
        "reference_id":"d3fd8109-51d2-40d6-b45b-41797efe7da2"
      },
      "test_mode":true,
      "reference_id":"9a691310-b2a0-4939-a635-8aabdcb3c685",
      "fields":{
        "card_number":"424242******4242"
      },
      "options":{
        "attempts_limit":0,
        "split_mode":false,
        "allow_partially":false,
        "auto_process":false
      }
    }
  }
}

Maximum data set to create a payout invoices for payment_card_xts service

PAYOUT
POST /api/commerce/payout-invoices HTTP/1.0
{
  "data":{
    "type":"payout-invoice",
    "attributes":{
      "service":"payment_card_xts",
      "commerce_account":"Hello World",
      "currency":"XTS",
      "amount":10,
      "customer":{
        "reference_id":"c9cc1602-abf9-4c68-b037-dcd807187e63",
        "name":"John Doe",
        "email":"[email protected]",
        "phone":"+923331310876",
        "address":{
          "full_address":"Harbanspura Road",
          "country":"PK",
          "city":"Karachi",
          "post_code":"44001"
        }
      },
      "test_mode":true,
      "reference_id":"40af4700-e321-4b19-8652-1329e2fc2ed8",
      "fields":{
        "card_number":"424242******4242"
      },
      "options":{
        "attempts_limit":0,
        "split_mode":false,
        "allow_partially":false,
        "auto_process":false
      }
    }
  }
}

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:

  • ADDRESS → customer [address] [address]
  • COUNTRY → customer [address] [country]
  • CITY → customer [address] [city]
  • POST_CODE → customer[address][post_code]
  • FIRST_NAME → customer [first_name]
  • LAST_NAME → customer [last_name]

Question

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