Get transaction details by card token and transaction ID (deprecated)
GET /api/transaction/{cardToken}{transactionId}
Use this call to get details of a transaction where {cardToken}
is the card token ID and where {transactionId}
is the transaction identifier. A sample request and response is below.
Path parameters
Parameter | Description |
---|---|
cardToken | Token for the signed-up debit card. |
transactionRequestId | Unique customer generated transaction request ID. |
Sample request
curl --location --request GET
'https://pushtopaystaging.crbnj.net/api/transaction/1XA580I8W75UW5TF5TWZ11MVL1MH1QIVSNG3MO/113-135155-548934-21939'
--header 'Accept: text/html'
--header 'Authorization: Bearer {xxx}'
Response attributes
Attribute | Description |
---|---|
transactionRequestId | This attribute corresponds to the |
amount | Transaction amount in cents. |
transactionRequestedAt | Date and time the transaction was requested. |
transactionStatus | Status of the transaction:
|
errorDescription | Description of any error that might have occurred. |
creditCardId | Token for the signed-up debit card. |
railId | The processor used to perform the transaction.
|
network | Card network.
|
retrievalReferenceId | Unique tracking number for this transaction in the processors. |
actualTransactionDoneAt | Actual time the transaction was sent to the processor. |
paymentSent | True if the payment was sent, otherwise false. |
requestApproved | True if the payment passed all the way to the processor successfully, otherwise false. |
responseReceived | True if P2C received a response from the external processor, otherwise false. |
responseCode | An ISO 8583 two-digit code signifying the transaction result. For example, 00 means successful. |
responseDescription | An ISO 8583 string description of the transaction result. For example, Approved. |
traceNumber | Unique number that is assigned to a transaction when it leaves the merchant bank until it arrives at the cardholder bank. |
error | Descriptive error, if relevant. |
transactionRequestBatchId | If a request is part of a batch, this ID shows. |
sourceSenderName | Merchant name. |
*sourceMcc | Merchant Category Code (MCC). |
Sample response
{
"transactionRequestId":"7B8L8BCC-223B-H5X2-9X39-6EDBE6J3D731070",
"cardToken":"CF5TWZ11MVL1MH1QIVSNG3MO",
"amount":1000,
"transactionRequestedAt":"2022-01-03T09:57:03.020Z",
"transactionStatus":"Pending",
"errorDescription":"null",
"creditCardId":"string",
"railId":"RS2",
"network":"string",
"retrievalReferenceId":"string",
"actualTransactionDoneAt":"2021-01-03T09:57:03.020Z",
"paymentSent":true,
"responseReceived":true,
"responseCode":"00",
"responseDescription":"successful",
"traceNumber":"8BE5A0DC-4LYA-4AB5-9C49-6E9BE63BY4S1",
"error":"null",
"transactionRequestBatchId":"null",
"sourceSenderName":"Cooks"
}
Updated 11 days ago