This request gets details about a past Local Bank Transfer (LBT) transaction, processed via the Payment API or the Hosted Payment Page.
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 (processingStatus
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 (processingStatus
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 altTransaction
resource (see altTransaction).
Examples
Request Examples
curl -v -X GET https://sandbox.bluesnap.com/services/2/alt-transactions/resolve?orderId=18727557 \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
curl -v -X GET https://sandbox.bluesnap.com/services/2/alt-transactions/lbt-8202020,395608 \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
Response Examples
{
"amount": 70,
"currency": "USD",
"payerInfo": {
"firstName": "John",
"lastName": "Doe",
"country": "us"
},
"vaultedShopperId": 28381653,
"localBankTransferTransaction": {
"localBankTransferInfo": {
"swiftCode": "RABOUS66XXX",
"paymentReference": "410001044179",
"accountHolder": "Global Collect BV",
"bankCode": "ABA|122238420||Address|WESTLAKE VILLAGE, 2663 TOWNSGATE RD",
"bankName": "Rabobank N.A.",
"countryDescription": "United States",
"bankCity": "Ontario USA",
"bankAccountNumber": "0487369908"
},
"orderId": 18727557
},
"processingInfo": {
"processingStatus": "PENDING"
}
}
{
"merchantTransactionId": "lbt-8202020",
"softDescriptor": "ABCD COMPANY",
"amount": 42,
"currency": "USD",
"payerInfo": {
"firstName": "John",
"lastName": "Doe",
"country": "us"
},
"vaultedShopperId": 28382047,
"localBankTransferTransaction": {
"localBankTransferInfo": {
"swiftCode": "RABOUS66XXX",
"paymentReference": "410001044199",
"accountHolder": "Global Collect BV",
"bankCode": "ABA|122238420||Address|WESTLAKE VILLAGE, 2663 TOWNSGATE RD",
"bankName": "Rabobank N.A.",
"countryDescription": "United States",
"bankCity": "Ontario USA",
"bankAccountNumber": "0487369908"
},
"orderId": 18728045
},
"processingInfo": {
"processingStatus": "PENDING"
}
}
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!.