Retrieve LBT Transaction

This request gets details about a past Local Bank Transfer (LBT) transaction, processed via the Payment API or the Hosted Payment Page.


Try it in the API Explorer

Request Content

No content is required in the request body. Enter the relevant IDs in the request URL, as follows:

Retrieve based on Order ID
The order ID can be used to retrieve the transaction at any point. BlueSnap returns the order ID in the Create LBT Transaction response.

Enter the orderId into the web service URL, in the format:
services/2/alt-transactions/resolve?orderId={order ID}

For example: services/2/alt-transactions/resolve?orderId=18727557

Retrieve based on Transaction ID
If the shopper has completed their purchase (processing-status is success), the transaction will be assigned a transaction ID.

Enter the transactionId into the web service URL, in the format:
services/2/alt-transactions/{transaction ID}

For example: services/2/alt-transactions/1034522153

Note: If the shopper has not completed their purchase (processing-status is pending), the transaction will not have a transaction ID yet, so you will need to retrieve based on order ID.

Retrieve based on Merchant Transaction ID and Merchant ID
Enter the merchantTransactionId and merchantId into the web service URL, in the format:
services/2/alt-transactions/{merchantTransactionId},{merchantId}

For example: services/2/alt-transactions/unique_001,395608

Response Details

If successful, the response HTTP status code is 200 OK.
The response contains the retrieved alt-transaction resource (see alt-transaction).


Examples

Request Examples

curl -v -X GET https://sandbox.bluesnap.com/services/2/alt-transactions/resolve?orderId=18727557 \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
curl -v -X GET https://sandbox.bluesnap.com/services/2/alt-transactions/lbt-8202020,395608 \
-H 'Content-Type: application/xml' \
-H 'Accept: application/xml' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '

Response Examples

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alt-transaction xmlns="http://ws.plimus.com">
  <amount>70</amount>
  <currency>USD</currency>
  <payer-info>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <country>us</country>
  </payer-info>
  <vaulted-shopper-id>28381653</vaulted-shopper-id>
  <local-bank-transfer-transaction>
    <local-bank-transfer-info>
      <swift-code>RABOUS66XXX</swift-code>
      <payment-reference>410001044179</payment-reference>
      <account-holder>Global Collect BV</account-holder>
      <bank-code>ABA&#x7c;122238420&#x7c;&#x7c;Address&#x7c;WESTLAKE VILLAGE, 2663 TOWNSGATE RD</bank-code>
      <bank-name>Rabobank N.A.</bank-name>
      <country-description>United States</country-description>
      <bank-city>Ontario USA</bank-city>
      <bank-account-number>0487369908</bank-account-number>
    </local-bank-transfer-info>
    <order-id>18727557</order-id>
  </local-bank-transfer-transaction>
  <processing-info>
    <processing-status>PENDING</processing-status>
  </processing-info>
</alt-transaction>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alt-transaction xmlns="http://ws.plimus.com">
  <merchant-transaction-id>lbt-8202020</merchant-transaction-id>
  <soft-descriptor>ABCD COMPANY</soft-descriptor>
  <amount>42</amount>
  <currency>USD</currency>
  <payer-info>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <country>us</country>
  </payer-info>
  <vaulted-shopper-id>28382047</vaulted-shopper-id>
  <local-bank-transfer-transaction>
    <local-bank-transfer-info>
      <swift-code>RABOUS66XXX</swift-code>
      <payment-reference>410001044199</payment-reference>
      <account-holder>Global Collect BV</account-holder>
      <bank-code>ABA&#x7c;122238420&#x7c;&#x7c;Address&#x7c;WESTLAKE VILLAGE, 2663 TOWNSGATE RD</bank-code>
      <bank-name>Rabobank N.A.</bank-name>
      <country-description>United States</country-description>
      <bank-city>Ontario USA</bank-city>
      <bank-account-number>0487369908</bank-account-number>
    </local-bank-transfer-info>
    <order-id>18728045</order-id>
  </local-bank-transfer-transaction>
  <processing-info>
    <processing-status>PENDING</processing-status>
  </processing-info>
</alt-transaction>

API Explorer (for request based on Order ID)

To test out a call, enter an existing order ID (e.g. 18727557) in the orderId field; this automatically inserts the ID into the request URL. Then, click Try it!.

Language
Credentials
:
Click Try It! to start a request and see the response here!