Retrieve Pay by Bank Transaction

🚧

Beta Feature

Pay by Bank is currently in beta and not suitable for production environments.

This request retrieves details about a past Pay by Bank (Open Banking) transaction.

Request Content

No content is required in the request body. Enter the relevant IDs in the request URL as a path parameter:

/services/2/alt-transactions/{transactionId}

For example:

https://sandbox.bluesnap.com/services/2/alt-transactions/123456782

Path Parameters

Path parametersTypeRequiredDescription
{transactionId}integerrequiredUnique identifier of the transaction you want to retrieve.

Response Details

Successful requests return the HTTP response status code 200 OK and a response body that contains the following properties:

PropertyNotes
amountValue of the transaction in the provided currency.
currencyCurrency used to process the transaction.
payByBankTransactionSee payByBankTranscation.
payerInfoReturned when the shopper is a not a vaulted shopper. See payerInfo.
processingInfoStatus of the transaction. See processingInfo.
productDescriptionDetails about the product purchased in the transaction.
transactionIdUnique identifier of the transaction.
vaultedShopperIdUnique identifier for the vaulted shopper.

Examples

Request Examples

curl -v -X  GET https://sandbox.bluesnap.com/services/2/alt-transactions/123456782?userId=54321 \
     -H 'Authorization: Basic QVBJXzE2MTk2MjgyMzU0ODkyMDM5MTMzODc0OkFsdG9pZHMxIQ==' \
     -H 'accept: application/json' \
     -H 'bluesnap-version: 3.0' \
     -H 'content-type: application/json'

Response Examples

{
     "transactionId": "12345678",
     "amount": 100,
     "currency": "EUR",
     "payerInfo": {
         "firstName": "John",
         "lastName": "Doe",
         "country": "de",
         "zip": "12345"
     },
     "vaultedShopperId": 87654321,
     "payByBankTransaction": {
          "payByBankUrl": "https://hostname:8444/services/fel/pbb/hostedpage?hpid=<hosted-page-id>==&invid=<invid-id>",
          "ibanFirstFour": "DE12",
          "ibanLastFour": "7890"
     },
     "productDescription": "N/A",
     "processingInfo": {
         "processingStatus": "PENDING"
     }
 }

API Explorer

BlueSnap provides a sandbox environment so you can test basic requests with this endpoint. You can view the request in the API Explorer console and its response directly below the console.

The console includes a sample request with predefined parameter values. To send a request with custom values, edit the parameter fields below. As you edit the fields, your custom values display in the request in the console.

Click the Try it! button below the request example when you are ready to send your request.

Language
Authorization
Header
Click Try It! to start a request and see the response here!