{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/alt-transactions/:order-id","auth":"optional","results":{"codes":[{"code":"","language":"text"}]},"settings":"","examples":{"codes":[]},"method":"get","params":[{"name":"order-id","type":"string","default":"","desc":"order-id received in the response from BlueSnap.","required":false,"in":"path","ref":"","_id":"5980a0ade4b008001ffc1e32"}]},"next":{"description":"","pages":[]},"title":"Retrieve LBT Transaction","type":"endpoint","slug":"retrieve-lbt-transaction","excerpt":"","body":"[block:html]\n{\n  \"html\": \"<script>\\n  // hide body textbox of API Explorer\\n $(document).ready(function() {\\n  $(\\\"textarea[placeholder='Body Content']\\\").hide();  \\n }); \\n</script>\"\n}\n[/block]\nThis request gets details about a past Local Bank Transfer (LBT) transaction, processed via the Payment API or the Hosted Payment Page. \n\n<br />\n\n<a class=\"btn btn-success\" href=\"#section-api-explorer-for-request-based-on-transaction-id-\" role=\"button\">Try it in the API Explorer</a>\n\n###Request Content\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Order ID and status\",\n  \"body\": \"Until the shopper completes the order, the processing status stays as `PENDING` and there is no transaction ID.  You must use the `order-id` for the transaction. For more information on how Local Bank Transfers work, refer to the [Local Bank Transfer](https://support.bluesnap.com/docs/local-bank-transfer) guide.\"\n}\n[/block]\n\n\nNo content is required in the request body. Enter the relevant IDs in the request URL, as follows:\n\n**Retrieve based on Order ID**\nEnter the `order-id` into the web service URL, in the format:\n`services/2/alt-transactions/{order-id}`\n\nFor example:\n`services/2/transactions/38504790`\n\n**Retrieve based on Merchant Transaction ID and Merchant ID**\nEnter the `merchant-id` and `merchant-transaction-id` into the web service URL, in the format:\n`services/2/alt-transactions/{merchant-transaction-id},{merchant-id}`\n\nFor example:\n`services/2/alt-transactions/unique_001,395608`\n\n###Response Details\nIf successful, the response HTTP status code is 200 OK.\nThe response contains the retrieved `alt-transaction` resource (see [alt-transaction](doc:alt-transaction)).\n\n<hr>\n\n##API Explorer (for request based on  Order ID)\nTo test out a call, enter an existing order ID in the `order-id` field. This automatically inserts the ID into the request URL. Leave the Body Content field empty.","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5ed5174637c3c607440c0a38","createdAt":"2020-03-24T18:16:49.756Z","user":"5beb1b96bc2003003ecd645e","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Local Bank Transfer transactions","slug":"local-bank-transfer-transactions","order":5,"from_sync":false,"reference":false,"_id":"5ed5174637c3c607440c099c","createdAt":"2020-03-24T18:10:08.271Z","version":"5ed5174637c3c607440c0a3c","project":"57336fd5a6a9c40e00e13a0b","__v":0},"version":{"version":"8976-XML","version_clean":"8976.0.0-XML","codename":"3.34.0 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5ed5174637c3c607440c098b","5ed5174637c3c607440c098c","5ed5174637c3c607440c098d","5ed5174637c3c607440c098e","5ed5174637c3c607440c098f","5ed5174637c3c607440c0990","5ed5174637c3c607440c0991","5ed5174637c3c607440c0992","5ed5174637c3c607440c0993","5ed5174637c3c607440c0994","5ed5174637c3c607440c0995","5ed5174637c3c607440c0996","5ed5174637c3c607440c0997","5ed5174637c3c607440c0998","5ed5174637c3c607440c0999","5ed5174637c3c607440c099a","5ed5174637c3c607440c099b","5ed5174637c3c607440c099c"],"_id":"5ed5174637c3c607440c0a3c","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5e5d3a02fb6fb40050cb3c15","createdAt":"2018-04-24T15:24:22.608Z","releaseDate":"2018-04-24T15:24:22.608Z"},"project":"57336fd5a6a9c40e00e13a0b","__v":14,"parentDoc":null}

getRetrieve LBT Transaction


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

order-id:
string
order-id received in the response from BlueSnap.

Documentation

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

Order ID and status

Until the shopper completes the order, the processing status stays as PENDING and there is no transaction ID. You must use the order-id for the transaction. For more information on how Local Bank Transfers work, refer to the Local Bank Transfer guide.

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

Retrieve based on Order ID
Enter the order-id into the web service URL, in the format:
services/2/alt-transactions/{order-id}

For example:
services/2/transactions/38504790

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

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).


API Explorer (for request based on Order ID)

To test out a call, enter an existing order ID in the order-id field. This automatically inserts the ID into the request URL. Leave the Body Content field empty.


User Information

Try It Out


get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}