Link bank accounts with MX

Moov’s partnership with MX allows mutual customers to verify bank accounts through instant account verification (IAV).

Instead of waiting for the account holder to complete the micro-deposit verification process, you can verify bank accounts seamlessly with MX. To enable instant account verification (IAV), you will need to:

  • Set up your accounts
  • Get authorization code
  • Pass the MX authorization code to Moov’s bank account POST endpoint

Set up your accounts

You will need an MX account and a Moov account in order to use this integration. If you don’t have a Moov account, you can sign up for one. Refer to our quick start guide for guidance on getting your API keys and configuring your Moov account once you’ve signed up.

Before you can use the Moov + MX integration, you will also need to have an API key and a client ID for your MX account.

Your MX account must also have the following enabled:

  • has_payment_processing
  • has_platform_api
  • has_account_verification

Create an authorization code

An authorization code is a one-time use token used to authenticate your application with MX. You’ll create an authorization code by passing the following information to the Request Payment Processor Authorization Code MX endpoint.

1
2
3
4
5
6
7
{ 
  "payment_processor_authorization_code": {
    "user_guid": "USR-ba246888-cc62-40a6-8967-baa76dbf1cc7",
    "member_guid": "MBR-4145eb50-3721-4f48-a983-d874c8bd5eb9",
    "account_guid": "ACT-dc10aeb9-66a0-4c5c-b6a7-720b637f1fb6"
  }
}

Pass the authorization code to Moov

Once you’ve successfully created an authorization code, you’ll pass that authorization code to Moov via the bank account POST endpoint.

1
2
3
4
5
6
7
curl -X POST "https://api.moov.io/accounts/{accountID}/bank-accounts"
  -H "Authorization: Bearer {token}" \
  --data-raw '{
    "mx": {
      "authorizationCode": "mx-authorization-code"
    }
  }'\
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
const moov = new Moov(credentialsObject);

const accountID = "accountID";
const iavAuth = {
  mx: { 
    authorizationCode: "token"
  }
};

moov.accounts.bankAccounts.link(accountID, iavAuth);
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
const moov = moov(token);

const accountID = "accountID";
const iavAuth = {
  mx: { 
    authorizationCode: "token"
  }
};

moov.accounts.bankAccounts.link({accountID, iavAuth});

Moov will then retrieve bank account details directly from MX, so you won’t need to directly handle sensitive bank information when linking bank accounts.

Summary Beta