Create a Plaid verification
Verify an ACH account by providing the raw balance and transaction data from Plaid.
Parameters
type
enumThe type of verification.
Possible enum values
plaid
Required
plaid
objectObject containing account data from Plaid
Required
plaid.balances
objectThe raw balance data received from Plaid. See account balances.
Required
plaid.transactions
object[]The a list of the raw transaction data received from Plaid. See account transactions
Required
Returns
Returns the verification associated with the id.
- cURL
- Node.js
- Python
POST
/accounts/:account_id/verificationcurl https://production.methodfi.com/accounts/acc_b9q2XVAnNFbp3/verification \
-X POST \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc" \
-H "Content-Type: application/json" \
-d '{
"type": "plaid",
"plaid": {
"balances" : {
"available" : 100,
"current" : 110,
"iso_currency_code" : "USD",
"limit" : null,
"unofficial_currency_code" : null
},
"transactions": [
{
"account_id" : "NEramQK7DjHx863vG8xPuEqE9ojkN4HWkNbQe",
"account_owner" : null,
"amount" : 5.4,
"authorized_date" : null,
"category" : [...],
"category_id" : "22016000",
"date" : "2021-10-07",
"iso_currency_code" : "USD",
"location" : {...},
"merchant_name" : "Uber",
"name" : "Uber 063015 SF**POOL**",
"payment_channel" : "in store",
"payment_meta" : {...},
"pending" : false,
...
},
...
]
}
}'
POST
/accounts/:account_id/verificationconst verification = await method
.accounts('acc_b9q2XVAnNFbp3')
.verification
.create({
type: 'plaid',
plaid: {
balances: {
available : 100,
current : 110,
iso_currency_code : 'USD',
limit : null,
unofficial_currency_code : null,
},
transactions: [
...
],
},
});
POST
/accounts/:account_id/verificationverification = method
.accounts('acc_b9q2XVAnNFbp3')
.verification
.create({
'type': 'plaid',
'plaid': {
'balances': {
'available': 100,
'current': 110,
'iso_currency_code': 'USD',
'limit': None,
'unofficial_currency_code': None
},
'transactions': [
...
]
}
})
RESPONSE
{
"id": "vrf_73TAQ8njUFsLJ",
"status": "verified",
"type": "plaid",
"error": null,
"initiated_at": "1970-01-01T00:00:00.000Z",
"pending_at": "1970-01-01T00:00:00.000Z",
"verified_at": "2021-10-12T21:23:48.447Z",
"disabled_at": "1970-01-01T00:00:00.000Z",
"created_at": "2021-10-12T21:23:48.449Z",
"updated_at": "2021-10-12T21:23:48.449Z"
}