This object represents a payment method (e.g. bank account, credit card, debit card, etc.) belonging to a borrower.
Create a payment instrument.
When creating a payment instrument using the Plaid Account option, two flows are supported:
Pass only accessToken
and accountIds
. This will create a payment instrument with status
=inactive
.
You can then use Update payment instrument
endpoint to set the accountHolderType
, and accountHolderName
fields, and set the status
to active
.
Pass the required fields as well as accountHolderType
, and accountHolderName
. This will create a payment
instrument with status
=active
. The payment instrument will then be ready to use.
Note: This endpoint returns an array containing a single payment instrument to allow future support for Plaid multi-account select.
Payment Instruments
Duplicate instrument
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "isExternal": true,
- "pendingAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "status": "active",
- "inactiveReason": "fraudAlert",
- "verified": false,
- "nickname": "string",
- "instrumentType": "bankAccount",
- "routingNumber": "string",
- "accountType": "checking",
- "accountHolderType": "business",
- "accountHolderName": "string",
- "institutionName": "string",
- "accountLink": {
- "vendor": "plaid",
- "accessToken": "string",
- "itemId": "string",
- "accountId": "string",
- "dataServices": [
- "accountInfo"
], - "status": "active",
- "recentError": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}
}, - "accountNumber": "string",
- "sendNotice": true
}
{- "status": 0,
- "count": 0,
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "isExternal": true,
- "activeAt": "2019-08-24T14:15:22Z",
- "inactiveAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "failureReason": "insufficientFunds",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "externalId": "string",
- "status": "active",
- "inactiveReason": "fraudAlert",
- "verified": false,
- "nickname": "string",
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string",
- "routingNumber": "string",
- "accountType": "checking",
- "accountHolderType": "business",
- "accountHolderName": "string",
- "institutionName": "string",
- "accountLink": {
- "vendor": "plaid",
- "accessToken": "string",
- "itemId": "string",
- "accountId": "string",
- "dataServices": [
- "accountInfo"
], - "status": "active",
- "recentError": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}, - "errorCommunicationsSent": 0,
- "lastErrorCommunicationAt": "2019-08-24T14:15:22Z"
}
}
]
}
Payment Instruments
{- "status": 0,
- "count": 0,
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "isExternal": true,
- "activeAt": "2019-08-24T14:15:22Z",
- "inactiveAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "failureReason": "insufficientFunds",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "externalId": "string",
- "status": "active",
- "inactiveReason": "fraudAlert",
- "verified": false,
- "nickname": "string",
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string",
- "routingNumber": "string",
- "accountType": "checking",
- "accountHolderType": "business",
- "accountHolderName": "string",
- "institutionName": "string",
- "accountLink": {
- "vendor": "plaid",
- "accessToken": "string",
- "itemId": "string",
- "accountId": "string",
- "dataServices": [
- "accountInfo"
], - "status": "active",
- "recentError": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}, - "errorCommunicationsSent": 0,
- "lastErrorCommunicationAt": "2019-08-24T14:15:22Z"
}, - "accountNumber": "string"
}
]
}
Payment Instrument
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "isExternal": true,
- "activeAt": "2019-08-24T14:15:22Z",
- "inactiveAt": "2019-08-24T14:15:22Z",
- "pendingAt": "2019-08-24T14:15:22Z",
- "failureReason": "insufficientFunds",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "externalId": "string",
- "status": "active",
- "inactiveReason": "fraudAlert",
- "verified": false,
- "nickname": "string",
- "instrumentType": "bankAccount",
- "accountNumberLastFour": "string",
- "routingNumber": "string",
- "accountType": "checking",
- "accountHolderType": "business",
- "accountHolderName": "string",
- "institutionName": "string",
- "accountLink": {
- "vendor": "plaid",
- "accessToken": "string",
- "itemId": "string",
- "accountId": "string",
- "dataServices": [
- "accountInfo"
], - "status": "active",
- "recentError": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}, - "errorCommunicationsSent": 0,
- "lastErrorCommunicationAt": "2019-08-24T14:15:22Z"
}, - "accountNumber": "string"
}
}
Payment Instrument Updated
{- "externalId": "string",
- "status": "active",
- "inactiveReason": "fraudAlert",
- "verified": false,
- "nickname": "string",
- "accountType": "checking",
- "accountHolderType": "business",
- "accountHolderName": "string",
- "institutionName": "string",
- "accountLink": {
- "vendor": "plaid",
- "accessToken": "string",
- "itemId": "string",
- "accountId": "string",
- "dataServices": [
- "accountInfo"
], - "status": "active",
- "recentError": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}
}, - "sendNotice": true
}
Payment Instrument Deleted
Success
{- "deposit1": 0,
- "deposit2": 0
}
Add a data vendor link for this payment instrument. If one is already present, it is replaced.
Account Link created
{- "vendor": "plaid",
- "accessToken": "string",
- "itemId": "string",
- "accountId": "string",
- "dataServices": [
- "accountInfo"
], - "status": "active",
- "recentError": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}
}
{- "status": 0,
- "message": "string",
- "data": {
- "vendor": "plaid",
- "accessToken": "string",
- "itemId": "string",
- "accountId": "string",
- "dataServices": [
- "accountInfo"
], - "status": "active",
- "recentError": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}, - "errorCommunicationsSent": 0,
- "lastErrorCommunicationAt": "2019-08-24T14:15:22Z"
}
}
Update record keeping details about the account link. This can not be used to set up a new account link.
Account Link updated
{- "dataServices": [
- "accountInfo"
], - "lastErrorCommunicationAt": "2019-08-24T14:15:22Z"
}
{- "status": 0,
- "message": "string",
- "data": {
- "vendor": "plaid",
- "accessToken": "string",
- "itemId": "string",
- "accountId": "string",
- "dataServices": [
- "accountInfo"
], - "status": "active",
- "recentError": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}, - "errorCommunicationsSent": 0,
- "lastErrorCommunicationAt": "2019-08-24T14:15:22Z"
}
}
Retrieve the data vendor link details for this payment instrument.
Deleted
Fetch updated balance data from the account link associated with this payment instrument.
Success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": null,
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "availableBalanceAmount": 0,
- "currentBalanceAmount": 0,
- "currency": "string",
- "error": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}, - "lastSuccessfulBalance": {
- "createdAt": "2019-08-24T14:15:22Z",
- "availableBalanceAmount": 0,
- "currentBalanceAmount": 0,
- "currency": "string"
}
}
}
Get stored balance data for the account associated with the payment instrument.
Success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": null,
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "availableBalanceAmount": 0,
- "currentBalanceAmount": 0,
- "currency": "string",
- "error": {
- "errorType": "retry",
- "errorTypeByVendor": "string",
- "errorCodeByVendor": "string",
- "errorDescriptionInternal": "string",
- "errorDescriptionBorrower": "string"
}, - "lastSuccessfulBalance": {
- "createdAt": "2019-08-24T14:15:22Z",
- "availableBalanceAmount": 0,
- "currentBalanceAmount": 0,
- "currency": "string"
}
}
}