Skip to content

muchbetter

MuchBetter Connector

MuchBetter is a revolutionary award winning payment app. eWallet that lets you store, send and move money securely and quickly.

Website: muchbetter.com

Looking for help connecting your MuchBetter account?

Please contact our support team!

Set up Provider account

Step 1: Get required credentials

Credentials that have to be issued:

  • muchbetter__account_id → Account ID
  • muchbetter__secret_key → Secret key
  • muchbetter__token → Token

Connect Provider Account

Step 1. Connect Provider account at the Corefy Dashboard

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

Connect

Enter credentials:

  • Account ID
  • Secret key (Interac)
  • Token (Interac)
  • Method -> INTERAC
  • Test mode → true/false

Success

You have connected Muchbetter Provider account!

Connect

API examples:

Data set to create a payment invoices for interac_cad_hpp service

PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
  "data":{
    "type":"payment-invoice",
    "attributes":{
      "service":"interac_cad_hpp",
      "commerce_account":"hello_world",
      "currency":"CAD",
      "amount":10.00,
      "reference_id":"c35c1416-a283-490a-998f-d6232d6fbb5f",
      "flow":"charge",
      "gateway_options":{
      },
      "customer":{
        "reference_id":"e1a58a3e-c388-4537-a50f-63798b6967f1",
        "name": "Jon Doe",
        "email": "test@email.com",
        "phone": "0976130229",
        "date_of_birth": "1994-10-10",
        "address":{
          "fullAddress": "Street 101",
          "city": "Toronto",
          "country": "CA",
          "postCode": "13454-02"
        },
        "metadata":{
          "ip": "212.42.206.42",
          "ssn": "156.535.858-90"
        }
      },
      "test_mode":true,
      "options":{
        "allow_partially":true,
        "bypass_hpp":false,
        "send_operation_context_on_return":false
      },
      "service_fields":[
      ]
    }
  }
}

Data set to create a payout invoices for interac_cad service

PAYOUT
POST /api/commerce/payout-invoices HTTP/1.0
{
  "data":{
    "type":"payout-invoice",
    "attributes":{
      "service":"interac_cad",
      "commerce_account":"hello_world",
      "currency":"CAD",
      "amount":10.00,
      "test_mode":true,
      "reference_id":"20cf1525-0f02-4d81-89b8-ad343d0a4cc3",
      "fields":{
      },
      "options":{
        "attempts_limit":0,
        "split_mode":false,
        "allow_partially":false,
        "auto_process":false
      },
      "customer":{
        "reference_id":"e1a58a3e-c388-4537-a50f-63798b6967f1",
        "name": "Jon Doe",
        "email": "test@email.com",
        "phone": "0976130229",
        "date_of_birth": "1994-10-10",
        "address":{
          "fullAddress": "Street 101",
          "city": "Toronto",
          "country": "CA",
          "postCode": "13454-02"
        },
        "metadata":{
          "ip": "212.42.206.42"
        }
      },
    }
  }
}

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:

  • FIRST_NAME → customer [first_name]
  • LAST_NAME → customer [last_name]
  • PHONE → customer [phone]
  • EMAIL → customer [email]
  • CLIENT_ID → customer [refId]
  • ADDRESS → customer [address] [fullAddress]
  • CITY → customer [address] [city]
  • COUNTRY → customer [address] [country]
  • ZIP → customer[address][post_code]
  • BIRTHDAY → customer [date_of_birth]
  • IP → constants [user_ip]
  • SSN → constants [ssn]

Question

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