Skip to main content
Version: 1.0.4

Get Transaction By Reference

The "GetTransactionByReference" API retrieves the details of a specific transaction along with the status history.

Method: POST

{{URL}}/jsonrpc

Example

Request Parameters
ParameterDescription
method

Mandatory
String
Method Name must be "TransactionService.GetTransactionByReference"
idString
A unique identifier for the request, typically used for tracing or correlation.
paramsObject
Contains the request parameters including payload and API credentials.
payloadObject
Request-specific data.
referenceIdString
Unique reference ID of the transaction to be retrieved.
apiObject
Contains authentication and authorization details for the API request.
credential

Mandatory
String
Basic (space) [("<Username>:<apiKey>") as Base64 encoded value] to be provided
Sample Value: "Basic bmF2eWEubitlbXBAbmV0eGQuY29tOmY1OWIwY2NlOTU4ZTQ1YTc4MGVhZWIzYWVjOWVjZDAx"
signature

Mandatory
String
Sign the request payload (params.payload) using private key.
Sample Value: "MEQCIAbpxHpdOyBEVlmxPYv7m4Z1OvWJJYw7g7u3GE3T9nmvAiBjKHckSvb1M6O4t7FeWsn2z9Y3dMeYn3HyX/k28ek/Dw=="
apiKey

Optional
String
API key is provided at the time of device registration.
Sample Value : "f59b0cce958e45a780eaeb3aec9ecd01"
params.api.keyId

Mandatory
String
Key ID is provided at the time of device registration.
Sample Value : "348076"

curl --location '{{URL}}/jsonrpc' \
--header 'Content-Type: application/json' \
--data '{"method":"TransactionService.GetTransactionByReference","id":"1","params":{"payload":{"referenceId":"REFERENCE00130"},"api":{"credential":"Basic cmFqYXJlcEBuZXR4ZC5jb206MDM1Nzg2MmYxYTk4NDc3OGE0ZDU4NGE2YzBjYTMyNzM=","signature":"MEUCIQDsv7iL9YUshZxghhrcVavoLjJz+LhHVKNr/GCIVQO+JwIgcLFVPQ7HkSgyhy46Fh/5UPARVfbOrzafdN6Efu5QKs8=","apiKey":"0357862f1a984778a4d584a6c0ca3273","keyId":"463009"}}}'

Body


{
"method": "TransactionService.GetTransactionByReference",
"id": "1",
"params": {
"payload": {
"referenceId": "REFERENCE00130"
},
"api": {
"credential": "{{Credential}}",
"signature": "{{signature}}",
"apiKey": "{{ApiKey}}",
"keyId": "{{DeviceID}}"
}
}
}



Response: 200

Response Parameters
ParameterDescription
idString
Unique ID of the API request
Sample Value : "1"
jsonrpcString
JSON-RPC version used
Sample Value : "2.0"
resultObject
Contains transaction result details.
typeString
Type of transaction
Sample Value : "ACH_OUT"
previousStatusString
Status before the current update
Sample Value : "PENDING"
currentStatusString
Final status of the transaction
Sample Value : "COMPLETED"
statusHistoryArray
Chronological status changes of the transaction.
statusHistory[].paymentStageString
Stage name of the transaction flow
Sample Value : "Admin Approval"
statusHistory[].statusString
Status at that payment stage
Sample Value : "APPROVED"
statusHistory[].createdDateString
ISO timestamp of status entry
Sample Value : "2025-05-29T15:03:03.265Z"
statusHistory[].userString
Email of the user who performed the action
Sample Value : "t.rajagopal@netxd.com"
referenceIDString
Unique reference ID of the transaction
Sample Value : "REFERENCE00130"
transactionNumberString
Internal transaction number
Sample Value : "QA00000003104001"
reasonString
Reason for the transaction
Sample Value : "Settlement"
customerIDString
Customer ID of the transaction initiator
Sample Value : "100000000045001"
timeStampString
ISO timestamp of transaction initiation
Sample Value : "2024-08-26T06:20:25Z"
transactionIDString
Unique ID of the transaction
Sample Value : "19882109"
creditBoolean
Indicates if the transaction was a credit
Sample Value : false
instructedAmountObject
Amount and currency details of the transaction.
amountNumber
Amount transferred
Sample Value : 300
currencyString
Currency used for the transaction
Sample Value : "USD"
debtorAccountObject
Account details of the sender.
accountNumberString
Sender's account number
Sample Value : "200686362505215"
nickNameString
Nickname of the debtor account
Sample Value : "JD"
customerNameString
Name of the debtor
Sample Value : "EnableForAllAccount Test"
customerIDString
Debtor's customer ID
Sample Value : "100000000045001"
institutionIdString
ID of the debtor’s financial institution
Sample Value : "101115399"
institutionNameString
Name of the debtor’s financial institution
Sample Value : "NETXD BANK"
partyObject
Party details of the debtor.
nameString
Name of the debtor party
Sample Value : "EnableForAll AccountThree"
addressObject
Address of the debtor.
line1String
Street address line 1
Sample Value : "test"
cityString
City of the debtor
Sample Value : "New York"
stateString
State or province
Sample Value : "NY"
countryString
Country code
Sample Value : "US"
zipCodeString
ZIP or postal code
Sample Value : "98786"
creditorAccountObject
Account details of the receiver.
accountNumberString
Creditor's account number
Sample Value : "89900200002"
institutionIdString
ID of the creditor’s institution
Sample Value : "124303298"
institutionNameString
Name of the creditor’s institution
Sample Value : "FINWISE BANK"
partyObject
Party details of the creditor.
nameString
Name of the creditor
Sample Value : "Andy"
line1String
Street address line 1
Sample Value : "3745SWWanamakerRD"
line2String
Street address line 2
Sample Value : "SuiteC"
cityString
City
Sample Value : "Topeka"
stateString
State
Sample Value : "KS"
countryString
Country code
Sample Value : "840"
zipCodeString
ZIP or postal code
Sample Value : "66610"

{
"id": "1",
"result": {
"type": "ACH_OUT",
"previousStatus": "PENDING",
"currentStatus": "COMPLETED",
"statusHistory": [
{
"paymentStage": "File Uploaded",
"status": "PENDING",
"createdDate": "2025-05-29T15:02:22.692Z",
"user": "rajarep@netxd.com"
},
{
"paymentStage": "Admin Approval",
"status": "APPROVED",
"createdDate": "2025-05-29T15:03:03.265Z",
"user": "t.rajagopal@netxd.com"
},
{
"paymentStage": "Connector Processed",
"status": "COMPLETED",
"createdDate": "2025-05-29T15:03:03.328Z",
"user": "t.rajagopal@netxd.com"
}
],
"referenceID": "REFERENCE00130",
"transactionNumber": "QA00000003104001",
"reason": "Settlement",
"customerID": "100000000045001",
"timeStamp": "2024-08-26T06:20:25Z",
"transactionID": "19882109",
"credit": false,
"instructedAmount": {
"amount": 300,
"currency": "USD"
},
"debtorAccount": {
"accountNumber": "200686362505215",
"party": {
"name": "EnableForAll AccountThree",
"address": {
"line1": "test",
"city": "New York",
"state": "NY",
"country": "US",
"zipCode": "98786"
}
},
"institutionId": "101115399",
"institutionName": "NETXD BANK",
"customerName": "EnableForAllAccount Test",
"customerID": "100000000045001",
"nickName": "JD"
},
"creditorAccount": {
"accountNumber": "89900200002",
"party": {
"name": "Andy",
"address": {
"line1": "3745SWWanamakerRD",
"line2": "SuiteC",
"city": "Topeka",
"state": "KS",
"country": "840",
"zipCode": "66610"
}
},
"institutionId": "124303298",
"institutionName": "FINWISE BANK"
}
},
"jsonrpc": "2.0"
}


Error Codes

Error Codes
Error CodeError MessageRecommended Action
BAD_INPUTID is invalid or missingReferenceId is missing. Please provide a valid Reference Id
UNAUTHORIZEDAccess DeniedAccess Denied. Please Check with Support Team
NOT_FOUND_TRANSACTIONNo transaction found with referencePlease provide a valid Reference Id of a transaction and try again
INVALID_SIGNATUREInvalid SignatureSignature is invalid. Please ensure correct key, algorithm and signature process is followed
NOT_FOUND_USER_DEVICEUser device not foundInvalid Key Id. please provide valid Key ID
BAD_CREDENTIALInvalid CredentialInvalid credential. Please verify the credentials provided.