Skip to content

Logo

FMPay

Secure payment solutions designed for your success Hassle-free Payment Processing Tailored for Small Businesses, Supported by Real People

Website: fmpay.me

Set up Account H2H merchant account

Step 1: Create Merchant Account

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

  • fmpay__login → Login
  • fmpay__password → Password
  • fmpay__api_url → API URL
  • fmpay__currency → choose currency (You can set these parameters according to available currencies and features for your FMPay wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)

Connect Merchant Account

Step 1. Connect H2H account at the Corefy Dashboard

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

Connect

Enter credentials:

  • Login
  • Password
  • API URL
  • Save oct token → true/false
  • Test mode → true/false
  • Currency

Success

You have connected FMPay H2H merchant account!

Set up Account Provider account

Step 1: Create Provider account

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

  • fmpay__login → Login
  • fmpay__password → Password

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

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

Connect

Enter credentials:

  • Login
  • Password
  • Test mode → true/false

Success

You have connected FMPay Provider account!

API examples:

Data set to create a payment invoices for payment_card_eur_hpp service

SALE

POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"payment_card_eur_hpp",
      "commerce_account":"hello_world",
      "currency":"EUR",
      "amount":1,
      "reference_id":"4046efc0-aed7-4276-a86f-fc2876b45143",
      "flow":"charge",
      "gateway_options":{
        "cardgate":{
          "tokenize":""
        }
      },
      "test_mode":true,
      "options":{
        "allow_partially":false,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "service_fields":[
      ]
    }
  }
}

Minimum data set to create a payout invoices for payment_card_eur service

PAYOUT

POST /api/commerce/payout-invoices HTTP/1.0
{
  "data":{
    "type":"payout-invoice",
    "attributes":{
      "service":"payment_card_eur",
      "commerce_account":"hello_world",
      "currency":"EUR",
      "amount":2,
      "customer":{
        "reference_id":"referfsd"
        "name":"John Doe",
        "email":"[email protected]",
        "phone":"380999999999",
        "address":{
          "country":"SE",
        }
      },
      "test_mode":true,
      "reference_id":"96d4e629-4c12-4832-9be8-f7753b89d200",
      "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_eur service

PAYOUT

POST /api/commerce/payout-invoices HTTP/1.0
{
  "data":{
    "type":"payout-invoice",
    "attributes":{
      "service":"payment_card_eur",
      "commerce_account":"hellp_world",
      "currency":"EUR",
      "amount":2,
      "customer":{
        "reference_id":"tejkdfg",
        "name":"John Doe",
        "email":"[email protected]",
        "phone":"380999999999",
        "date_of_birth":"1992-11-19",
        "individual_tax_id":"123123123",
        "address":{
          "full_address":"test Sweden",
          "country":"SE",
          "region":"Sweden",
          "city":"Sweden",
          "street":"test 123123",
          "post_code":"123321"
        }
      },
      "test_mode":true,
      "reference_id":"85f6229a-7fd3-40a4-880e-1bb204ed5b50",
      "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:

  • OS → constant [os]
  • OS_VERSION → constant [os_version]
  • PLUGINS → constant [plugins]
  • IS_MOBILE → constant [is_mobile]

Question

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