Reply
Highlighted
Member
Posts: 2
Registered: ‎01-28-2019

Re: Get eCheck previous transaction status

What does a successful status look like?

Highlighted
Member
Posts: 2
Registered: ‎01-28-2019

Re: Get eCheck previous transaction status

What does a successful approved eCheck transaction look like. The documentation is very vague, I make a getTransactionDetailsRequest, but what field should I look at, and what is the value for an approved eCheck?

Highlighted
Administrator
Posts: 147
Registered: ‎11-29-2017

Re: Get eCheck previous transaction status

Something like the following- please note that this transaction has an associated returned eCheck in the GetTransactionDetails results - look at the returnedItems node.

 

You can try it out in the sandbox with your own test account here:

https://developer.authorize.net/api/reference/#payment-transactions-debit-a-bank-account

https://developer.authorize.net/api/reference/#transaction-reporting-get-transaction-details

 

<getTransactionDetailsRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>XXXXX</name>
<transactionKey>XXXXXX</transactionKey>
</merchantAuthentication>
<transId>1234567890</transId>
</getTransactionDetailsRequest>

 

<?xml version="1.0" encoding="utf-8"?>
<getTransactionDetailsResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<messages>
<resultCode>Ok</resultCode>
<message>
<code>I00001</code>
<text>Successful.</text>
</message>
</messages>
<transaction>
<transId>1234567890</transId>
<submitTimeUTC>2018-05-30T21:14:13.477Z</submitTimeUTC>
<submitTimeLocal>2018-05-30T18:44:13.477</submitTimeLocal>
<transactionType>authCaptureTransaction</transactionType>
<transactionStatus>settledSuccessfully</transactionStatus>
<responseCode>1</responseCode>
<responseReasonCode>1</responseReasonCode>
<responseReasonDescription>Approval</responseReasonDescription>
<AVSResponse>P</AVSResponse>
<batch>
<batchId>123456789</batchId>
<settlementTimeUTC>2018-05-30T21:14:15.54Z</settlementTimeUTC>
<settlementTimeLocal>2018-05-30T18:44:15.54</settlementTimeLocal>
<settlementState>settledSuccessfully</settlementState>
</batch>
<order>
<invoiceNumber>123456</invoiceNumber>
<discountAmount>0</discountAmount>
<taxIsAfterDiscount>false</taxIsAfterDiscount>
</order>
<authAmount>12.22</authAmount>
<settleAmount>12.22</settleAmount>
<taxExempt>false</taxExempt>
<payment>
<bankAccount>
<routingNumber>XXXX0204</routingNumber>
<accountNumber>XXXX1412</accountNumber>
<nameOnAccount>Account Owner</nameOnAccount>
<echeckType>WEB</echeckType>
</bankAccount>
</payment>
<customer>
<email>blackhole@authorize.net</email>
</customer>
<billTo>
<address>123 test st</address>
<phoneNumber>2065551212</phoneNumber>
<faxNumber>2065551212</faxNumber>
</billTo>
<shipTo>
<address>123 test st</address>
</shipTo>
<recurringBilling>false</recurringBilling>
<returnedItems>
<returnedItem>
<id>1234567891</id>
<dateUTC>2018-05-30T21:15:58Z</dateUTC>
<dateLocal>2018-05-30T18:45:58</dateLocal>
<code>R01</code>
<description>Insufficient Funds</description>
</returnedItem>
</returnedItems>
</transaction>
</getTransactionDetailsResponse>

Highlighted
New Member
Posts: 2
Registered: ‎09-10-2020

Re: Get eCheck previous transaction status

I realize this is an old thread, so my apologies, but...

 

I see the <returnedItem> section in your example.  But if it is returned, then why is the <settlementState> = "settledSuccessfully"?

 

Was it settled successfully or was it returned?

Highlighted
New Member
Posts: 2
Registered: ‎09-10-2020

Re: Get eCheck previous transaction status

I realize this is an old thread, so my apologies, but...

 

I see the <returnedItem> section in your example.  But if it is returned, then why is the <settlementState> = "settledSuccessfully"?

 

Was it settled successfully or was it returned?