Skip to content

Logo

PayFuture

The Local Payments Connector for Emerging Markets. Opening a world of opportunities for global expansion.

Website: payfuture.net

Set up Account

Step 1: Create Provider account

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

  • Mid code
  • Mid Secret

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

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

Connect

Enter credentials:

  • mid_code → Mid code
  • mid_secret → Mid Secret

Success

You have connected PayFuture Provider account!

API examples

Data set to create a Payment (paytm_inr_hpp):

POST /api/commerce/payment-invoices HTTP/1.1
{
   "data":{
      "type":"payment-invoice",
      "attributes":{
         "service":"paytm_inr_hpp",
         "commerce_account":"Hello_World",
         "currency":"INR",
         "amount":123,
         "flow":"charge",
         "gateway_options":{
            "cardgate":{
               "tokenize":""
            }
         },
         "customer":{
            "reference_id":"865e4813-0b82-493b-a573-95b7ce07b538"
         },
         "test_mode":true,
         "options":{
            "allow_partially":false
         },
         "reference_id":"bda26b6b-587e-4cc9-884c-4f6811f43ee7",
         "service_fields":[

     ]
  }
}
}

Data set to create a Payment (hdfc_bank_inr_hpp):

POST /api/commerce/payment-invoices HTTP/1.1
{
   "data":{
      "type":"payment-invoice",
      "attributes":{
         "service":"hdfc_bank_inr_hpp",
         "commerce_account":"Hello_World",
         "currency":"INR",
         "amount":999,
         "flow":"charge",
         "gateway_options":{
            "cardgate":{
               "tokenize":""
            }
         },
         "customer":{
            "reference_id":"7ae5d1df-a316-4c9c-af9c-ccaed8a29e8f",
            "name":"Test Test",
            "email":"[email protected]",
            "phone":"12345678995",
            "address":{
               "full_address":"India",
               "country":"IN",
               "region":"India",
               "city":"India",
               "street":"India",
               "post_code":"12345"
            }
         },
         "test_mode":true,
         "options":{
            "allow_partially":false
         },
         "reference_id":"7c626240-d798-4171-aa15-85a05e4a37cd",
         "service_fields":[

     ]
  }
}
}

Data set to create a Payment (upi_qr_inr_invoice):

POST /api/commerce/payment-invoices HTTP/1.1
{
   "data":{
      "type":"payment-invoice",
      "attributes":{
         "service":"upi_qr_inr_invoice",
         "commerce_account":"Hello_World",
         "currency":"INR",
         "amount":123.45,
         "flow":"charge",
         "gateway_options":{
            "cardgate":{
               "tokenize":""
            }
         },
         "customer":{
            "reference_id":"865e4813-0b82-493b-a573-95b7ce07b538"
         },
         "test_mode":true,
         "options":{
            "allow_partially":false
         },
         "reference_id":"1c222043-420e-494e-bf4a-0d777ed24ce7",
         "service_fields":{
            "vpa":"tets@test",
            "document_id":"test",
            "document_type":"test",
            "bank_code":"test",
         }
      }
   }
}

Data set to create a payment invoices for upi_inr_invoice service

PAYMENT
POST /api/commerce/payment-invoices HTTP/1.1
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"upi_inr_invoice",
      "commerce_account":"Hello_World",
      "currency":"INR",
      "amount":987.65,
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "customer":{
        "reference_id":"865e4813-0b82-493b-a573-95b7ce07b538",
        "name":"Test Test",
        "phone":"12345678995",
        "email":"[email protected]",
        "address": {
          "full_address":"India",
          "country":"IN",
          "state": "Karnataka",
          "city":"India",
          "post_code":"12345",
        }
      },
      "metadata": {
        "fingerprint": "1234"
      },
      "test_mode":true,
      "options":{
        "allow_partially":false
      },
      "reference_id":"1c222043-420e-494e-bf4a-0d777ed24ce7",
      "service_fields":{
        "vpa":"tets@test",
        "document_id":"test",
        "document_type":"test",
        "bank_code":"test",
      }
    }
  }
}

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:

  • CLIENT_IP → data ['ipaddress'] → customer['metadata']

Question

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