RocketKOR

Retrieve a Transaction Batch with Transactions

Retrieve details for a transaction batch. This includes information about the batch file and the individual transactions in the batch.

Endpoint

GET /v1/transaction-batches/{batchId}/details

Authorization Header

Authorization: Bearer <access_token>

Path Parameters

batchId

string (UUID)

Unique ID for the transaction batch in the RocketKOR system.

Request Body

None

Returns

Returns details for the transaction batch file and the individual transactions in the batch. For details, see the Transaction Batch object.

SAMPLE RESPONSE

				
					{
  "id": "65078464-2dd1-496a-8a07-7dfd9e36b0a0",
  "businessAccountId": "77051b4b-4c5f-4f65-af6d-87a8b61f73a6",
  "metadata": {
    "myPaymentId": "100000333",
    "invoiceNumber": "123232333",
    "authorizedBy": "user@email.com"
  },
  "transactionType": "SEND",
  "batchMode": "RELAXED",
  "solution": "push-to-card",
  "description": "This is a batch",
  "settlementPriority": "SAME_DAY",
  "currency": "USD",
  "transactionCount": 5000,
  "totalAmount": 52450.26,
  "status": "PENDING",
  "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",
        "createdAt": "2023-02-06T01:02:45.943Z"
      }
    },
    {...},
    {...}
  ],
  "createdAt": "2023-04-06T01:02:45.943Z",
  "createdBy": {
    "id": "4bd3aff1-cf97-4480-96f4-cfe3656500a3",
    "type": "EMPLOYEE"
  }
}