Skip to main content

Resources

This page documents the resource schemas specific to originated ACH payments. For resources related to receiving ACH payments, see Receiving ACH.

ACH Payment

AchPayment is a JSON:API resource, top-level fields:

NameTypeDescription
idstringIdentifier of the ACH payment resource.
typestringType of the payment resource. For originations the value is achPayment.
attributesJSON ObjectJSON object representing the payment resource.
relationshipsJSON:API RelationshipsDescribes relationships between the ACH payment and the originating deposit account and customer.

Attributes

NameTypeDescription
createdAtRFC3339 Date stringThe date the resource was created.
statusstringOne of Pending,Pending Review, Rejected, Clearing, Sent, Canceled, Returned. See ACH Status.
reason OptionalstringOptional. More information about the status.
counterpartyCounterpartyThe party on the other side of the ACH payment.
directionstringThe direction in which the funds flow (either Debit or Credit).
descriptionstringPayment description (maximum of 10 characters), also known as Company Entry Description, this will show up on statement of the counterparty.
addenda OptionalstringOptional, additional payment description (maximum of 50 characters), not all institutions present that.
amountintegerThe amount (cents) of the payment.
settlementDate OptionalRFC3339 Date stringOptional, for ACH debit with statuses Pending,Clearing, shows the date on which the payment will be settled.
expectedCompletionDate OptionalRFC3339 Date stringOptional, for ACH credit with statuses Pending,Sent, shows the date on which the counterparty will handle the request.
tagsobjectSee Tags.
counterpartyVerificationMethod OptionalstringOptional, shows the verification method of the counterparty : 'Plaid'.
sameDaybooleanIndicates whether the payment is a Same Day ACH payment. See Same Day ACH.
secCodestringThe 3-letter ACH Standard Entry Class (SEC) Code. One of WEB, CCD, PPD.

Relationships

NameTypeDescription
accountJSON:API RelationshipThe Deposit Account originating the transfer.
customerOptional, JSON:API RelationshipThe Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual.
customersOptional, Array of JSON:API RelationshipThe list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers.
counterpartyJSON:API RelationshipThe Counterparty the payment to be made to.
transaction OptionalJSON:API RelationshipOptional. The transaction generated by this payment. Generated instantly in cases where a credit ach payment is converted to a book payment, otherwise, once the payment is sent.
recurringPaymentOptional, JSON:API RelationshipThe recurring payment belonging to this payment.
Example AchPayment resource:
{
"data": {
"type": "achPayment",
"id": "50",
"attributes": {
"createdAt": "2020-01-13T16:01:19.346Z",
"status": "Pending",
"counterparty": {
"routingNumber": "812345678",
"accountNumber": "12345569",
"accountType": "Checking",
"name": "Jane Doe"
},
"description": "Funding",
"direction": "Credit",
"amount": 10000,
"sameDay": false,
"secCode": "WEB"
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "555"
}
},
"customer": {
"data": {
"type": "individualCustomer",
"id": "99823"
}
},
"counterparty": {
"data": {
"type": "counterparty",
"id": "4567"
}
},
"transaction": {
"data": {
"type": "transaction",
"id": "4003"
}
}
}
}
}

ACH Transactions

ACH operations create various transaction types. Listen for transaction.created events to track when these are created.

Originated ACH Transaction

OriginatedAchTransaction is a JSON:API resource, top-level fields:

NameTypeDescription
idstringIdentifier of the transaction resource.
typestringType of the transaction resource. The value is always originatedAchTransaction.
attributesJSON ObjectJSON object representing the transaction data.
relationshipsJSON:API RelationshipsDescribes relationships between the transaction resource and other resources (account and customer).

Attributes

NameTypeDescription
createdAtRFC3339 Date stringThe date the transaction was created. Common to all transaction types.
directionstringThe direction in which the funds flow. Common to all transaction types.
amountintegerThe amount (cents) of the transaction. Common to all transaction types.
balanceintegerThe account balance (cents) after the transaction. Common to all transaction types.
summarystringSummary of the transaction. Common to all transaction types.
descriptionstringTransaction description.
addenda OptionalstringOptional, additional transaction description.
counterpartyCounterpartyThe party on the other end of the transaction.
secCodestringThe 3-letter ACH Standard Entry Class (SEC) Code. One of WEB, CCD, PPD.
traceNumber OptionalstringOptional. The 15-digit ACH Trace Number identifies the transaction within the ACH file after transmission.
tagsobjectSee Tags. Inherited from the payment tags (see Tag Inheritance).

Relationships

NameTypeDescription
accountJSON:API RelationshipThe Deposit Account of the customer.
customerOptional, JSON:API RelationshipThe Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual.
customersOptional, Array of JSON:API RelationshipThe list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers.
paymentJSON:API RelationshipThe payment belonging to this transaction.
recurringPaymentOptional, JSON:API RelationshipThe recurring payment belonging to this transaction.
Example OriginatedAchTransaction resource:
{
"type": "originatedAchTransaction",
"id": "1",
"attributes": {
"createdAt": "2020-09-06T07:51:02.570Z",
"direction": "Credit",
"amount": 10000,
"balance": 10000,
"summary": "Unit Inc | Initial account funding",
"description": "Funding",
"addenda": "Initial account funding",
"counterparty": {
"name": "Unit Inc",
"routingNumber": "812345678",
"accountNumber": "1",
"accountType": "Checking"
},
"secCode": "WEB",
"traceNumber": "812345670000123"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "3"
}
},
"payment": {
"data": {
"type": "payment",
"id": "5"
}
}
}
}

Payment Canceled Transaction

The transaction represents an originated ACH that has been canceled by its originator prior to its transmission to the ACH network.

PaymentCanceledTransaction is a JSON:API resource, top-level fields:

NameTypeDescription
idstringIdentifier of the transaction resource.
typestringType of the transaction resource. The value is always paymentCanceledTransaction.
attributesJSON ObjectJSON object representing the transaction data.
relationshipsJSON:API RelationshipsDescribes relationships between the transaction resource and other resources (account, customer).

Attributes

NameTypeDescription
createdAtRFC3339 Date stringThe date the transaction was created. Common to all transaction types.
directionstringThe direction in which the funds flow. Common to all transaction types.
amountintegerThe amount (cents) of the transaction. Common to all transaction types.
balanceintegerThe account balance (cents) after the transaction. Common to all transaction types.
summarystringSummary of the transaction. Common to all transaction types.
tagsobjectSee Tags.

Relationships

NameTypeDescription
accountJSON:API RelationshipThe Deposit Account participating in the transaction.
customerOptional, JSON:API RelationshipThe Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual.
customersOptional, Array of JSON:API RelationshipThe list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers.
orgJSON:API RelationshipThe org the customer belongs to.
relatedTransactionJSON:API RelationshipThe original transaction being canceled.
Example PaymentCanceledTransaction resource:
{
"type": "paymentCanceledTransaction",
"id": "185",
"attributes": {
"createdAt": "2022-02-02T13:11:22.404Z",
"amount": 7000,
"direction": "Credit",
"balance": 1702108,
"summary": "Cancellation of: 184 | Payment Id: 18"
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10002"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10001"
}
},
"customers": {
"data": [
{
"type": "customer",
"id": "10001"
}
]
},
"relatedTransaction": {
"data": {
"type": "transaction",
"id": "184"
}
}
}
}