{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/alt-transactions/:orderId","auth":"optional","results":{"codes":[{"code":"","language":"text"}]},"settings":"57ee593a21ceb20e0061959e","examples":{"codes":[]},"method":"get","params":[{"name":"orderId","type":"string","default":"","desc":"order ID received in the response from BlueSnap","required":false,"in":"path","ref":"","_id":"596cf1cb20660f0015f5191a"}]},"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\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 `orderId` for the transaction.\\nFor 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<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##API Explorer\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 `orderId` into the web service URL, in the format:\n`services/2/alt-transactions/{orderId}`\n\nFor example: `services/2/alt-transactions/38504790`\n\n**Retrieve based on Merchant Transaction ID and Merchant ID**\nEnter the `merchantTransactionId` and `merchantId` into the web service URL, in the format:\n`services/2/alt-transactions/{merchantTransactionId},{merchantId}`\n\nFor example: `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 `altTransaction` resource (see [altTransaction](doc:alt-transaction)). \n\n##API Explorer (for request based on Order ID)\nTo test out a call, enter an existing order ID (e.g. *1014672453*) in the `orderId` field; this automatically inserts the ID into the request URL. Then, click **Try it!**.","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5ed0377101fdb400214deda6","createdAt":"2020-03-24T21:29:24.127Z","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":"5ed0377101fdb400214ded10","createdAt":"2020-03-24T21:25:24.892Z","version":"5ed0377101fdb400214dedaa","project":"57336fd5a6a9c40e00e13a0b","__v":0},"version":{"version":"8976-JSON","version_clean":"8976.0.0-JSON","codename":"3.34.0 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5ed0377101fdb400214ded00","5ed0377101fdb400214ded01","5ed0377101fdb400214ded02","5ed0377101fdb400214ded03","5ed0377101fdb400214ded04","5ed0377101fdb400214ded05","5ed0377101fdb400214ded06","5ed0377101fdb400214ded07","5ed0377101fdb400214ded08","5ed0377101fdb400214ded09","5ed0377101fdb400214ded0a","5ed0377101fdb400214ded0b","5ed0377101fdb400214ded0c","5ed0377101fdb400214ded0d","5ed0377101fdb400214ded0e","5ed0377101fdb400214ded0f","5ed0377101fdb400214ded10"],"_id":"5ed0377101fdb400214dedaa","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5e5d3aa2dc4d35003d784d9d","createdAt":"2018-04-24T15:22:41.561Z","releaseDate":"2018-04-24T15:22:41.561Z"},"project":"57336fd5a6a9c40e00e13a0b","__v":6,"parentDoc":null}

getRetrieve LBT Transaction


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

orderId:
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 orderId for the transaction.
For more information on how Local Bank Transfers work, refer to the Local Bank Transfer guide.

Back to Top


API Explorer

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 orderId into the web service URL, in the format:
services/2/alt-transactions/{orderId}

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

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 altTransaction resource (see altTransaction).

API Explorer (for request based on Order ID)

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


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 }}