The Transaction Batch object represents a batch file containing multiple transactions. This object also contains details for the individual transactions in the batch file.
id
string (UUID)
ID of the transaction batch in the RocketKOR system.
businessAccountId
string (UUID)
ID of the Business Account that contains the debit and credit accounts for the transactions in the batch.
metadata
string, max items: 6, value max length: 1024
Use a maximum of 6 key/value pairs to store additional information with a transaction batch.
transactionType
string enum, values: SEND, REQUEST
Type of transaction. The following values are supported:
batchMode
string enum, values: RELAXED, STRICT
default value: RELAXED
Batch mode. The following values are supported:
solution
string
Name of the RocketKOR solution used for the transaction batch.
description
string
Description of the transaction batch.
settlementPriority
string enum, values: IMMEDIATE, SAME_DAY, NEXT_DAY, SCHEDULED
default value: IMMEDIATE
Expected priority for settling the transactions in the batch. The following values are supported:
This parameter is configurable for some RocketKOR solutions, such as ACH. Note that Push to Card transactions always use the IMMEDIATE settlement priority.
currency
string
Currency used for the transactions in the batch. Must be an ISO 4217 alpha 3-character currency code. RocketKOR supports USD and CAD currencies.
transactionCount
integer (int32)
Total number of transactions in the batch.
processedTransactionCount
integer (int32)
Total number of all successfully processed transactions in the batch.
failedTransactionCount
integer (int32)
Total number of all failed transactions in the batch.
totalAmount
string (currency)
Total amount of all transactions in the batch.
processedTransactionAmount
string (currency)
Total amount of all successfully processed transactions in the batch.
failedTransactionAmount
string (currency)
Total amount of all failed transactions in the batch.
status
string enum, values: PENDING, PROCESSING, COMPLETED, ERROR, CANCELLED
Current status of the transaction batch. The following values are supported:
transactions
object
Transactions in the batch.
id
string (UUID)
ID of the transaction in the RocketKOR system.
metadata
string, max items: 6, value max length: 1024
Use a maximum of 6 key/value pairs to store additional information with a transaction.
debitFinancialAccountId
string (UUID)
ID of the Financial Account used as the debit account (source of the funds) for the transaction.
creditFinancialAccountId
string (UUID)
ID of the Financial Account used as the credit account (receiver of the funds) for the transaction.
paymentReasonId
string
ID representing the payment reason for the transaction. Use the Payment Reasons API to retrieve a list of available payment reasons.
amount
string (currency)
Amount to be transferred from the debit account to the credit account. Must be a positive number. The amount must conform to any transaction limits.
latestStatus
object
Current status of the transaction.
status
string enum, values: NEW, PENDING, PROCESSING, APPROVED, SETTLED, CLEARED, CANCELLED, DECLINED, REVERSED, ERROR
Transaction status. The following values are supported:
message
string
Success or error message related to the transaction.
createdBy
object
Entity that created the transaction.
id
string (UUID)
ID of the entity. Will be blank if createdBy.type is internal.
type
string enum, values: employee, service-account, internal
Type of entity. The following values are supported:
createdAt
string (date-time), format: yyyy-MM-dd’T’HH:mm:ss.SSSz
Date and time the status was assigned to the transaction.
createdBy
object
Entity that created the transaction batch.
id
string (UUID)
ID of the entity. Will be blank if createdBy.type is internal.
type
string enum, values: employee, service-account, internal
Type of entity. The following values are supported:
createdAt
string (date-time), format: yyyy-MM-dd’T’HH:mm:ss.SSSz
Date and time the transaction batch was created in the RocketKOR system.
updatedBy
object
Entity that last updated the transaction batch.
id
string (UUID)
ID of the entity. Will be blank if updatedBy.type is internal.
type
string enum, values: employee, service-account, internal
Type of entity. The following values are supported:
updatedAt
string (date-time), format: yyyy-MM-dd’T’HH:mm:ss.SSSz
Date and time the transaction batch was last updated.
Transaction Batch Object
{
"id": "65078464-2dd1-496a-8a07-7dfd9e36b0a0",
"businessAccountId": "77051b4b-4c5f-4f65-af6d-87a8b61f73a6",
"metadata": {
"department": "billing"
},
"transactionType": "SEND",
"batchMode": "RELAXED",
"solution": "push-to-card",
"description": "This is a batch",
"settlementPriority": "SAME_DAY",
"currency": "USD",
"transactionCount": 5000,
"processedTransactionCount": 4998,
"failedTransactionCount": 2,
"totalAmount": "52450.26",
"processedTransactionAmount": "49813.26",
"failedTransactionAmount": "2637.00,
"transactions": [
{
"id": "ce0c8e6d-f747-4aff-b607-8a6d1a10968c",
"metadata": {
"myPaymentId": "100000333",
"invoiceNumber": "123232333",
"authorizedBy": "user@email.com"
},
"debitFinancialAccountId": "00303bff-29af-4213-bc7d-d9127a16927e",
"creditFinancialAccountId": "cf2944c7-465b-427c-b933-4d33526b391a",
"paymentReasonId": "loan-payouts",
"amount": "250.00",
"latestStatus": {
"status": "NEW",
"message": "New transaction",
"createdBy": {
"id": "e1b97aa1-29a8-46d3-8f58-aa7a8bec5e79",
"type": "service-account"
},
"createdAt": "2023-02-06T01:02:45.943Z"
}
},
{...},
{...}
],
"createdBy": {
"id": "e1b97aa1-29a8-46d3-8f58-aa7a8bec5e79",
"type": "service-account"
},
"createdAt": "2023-02-07T01:02:45.943Z",
"updatedBy": {
"id": "e1b97aa1-29a8-46d3-8f58-aa7a8bec5e79",
"type": "service-account"
},
"updatedAt": "2023-02-08T20:40:03.484Z"
}
© 2022 Rocket Financial. All rights reserved. RocketFNCL, RocketKOR, RocketBNK are trade names of Rocket Financial Inc.
Services Agreement | Privacy Policy | RocketFNCL | © 2023 by Rocket Financial Inc. All rights reserved.
Services Agreement | Privacy Policy | RocketFNCL | © 2023 by Rocket Financial Inc. All rights reserved.
Services Agreement | Privacy Policy | RocketFNCL
© 2023 by Rocket Financial Inc. All rights reserved.