Flexify¶
FINTECH SOLUTIONS to MEET YOUR NEEDS
Website: flexify.finance
Set up 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.
Enter credentials:
- Public Key
- Secret Key
- Test Mode = true/false
Success
You have connected Flexify Provider account!
Set up Merchant account¶
Step 1: Create Merchant 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
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.
Enter credentials:
- Public Key
- Secret Key
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
}
}
}
}
Minimum data set to create a payment invoices for applepay_eur_hpp service¶
PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"applepay_eur_hpp",
"commerce_account":"hello_world",
"currency":"EUR",
"amount":5,
"flow":"charge",
"gateway_options":{
"cardgate":{
"tokenize":""
}
},
"test_mode":false,
"options":{
"allow_partially":false,
"bypass_hpp":false,
"send_operation_context_on_return":false
},
"reference_id":"99e6bf1e-8a14-4a12-8404-2456d1ca7797",
"service_fields":[
]
}
}
}
Maximum data set to create a payment invoices for applepay_eur_hpp service¶
PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"applepay_eur_hpp",
"commerce_account":"hello_world",
"currency":"EUR",
"amount":10,
"reference_id":"f5992e77-eea8-4faf-b947-5aa7c02d3bdc",
"flow":"charge",
"gateway_options":{
"cardgate":{
"tokenize":""
}
},
"customer":{
"reference_id":"e1db8165-8ecf-4f7e-99ee-ea851c07636e",
"name":"John Wick",
"email":"[email protected]",
"phone":"23534534534",
"date_of_birth":"2000-11-01",
"individual_tax_id":"236546",
"address":{
"full_address":"Street 666",
"country":"AD",
"region":"London",
"city":"London",
"street":"Oxford",
"post_code":"W12FG"
}
},
"test_mode":false,
"options":{
"allow_partially":false,
"bypass_hpp":false,
"send_operation_context_on_return":false
},
"service_fields":[
]
}
}
Constants¶
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]
- FIRST_NAME → customer [first_name]
- LAST_NAME → customer [last_name]
- EMAIL → customer [email]
- PHONE → customer [phone]
- FULL_ADDRESS → customer [address] [address]
- POSTAL_CODE → customer[address][post_code]
- CITY → customer [address] [city]
- DATE_OF_BIRTH → customer [date_of_birth]
- USER_IP → constants [user_ip]
- INDIVIDUAL_TAX_ID → constants [individual_tax_id]
Question
"Still looking for help connecting your Flexify account?" Please contact our support team!