Retrieve BECS Direct Debit Transaction

πŸ“˜

This payment method is currently in Beta. Please reach out to BlueSnap Merchant Support to enable it.

This request gets details about a past BECS Direct Debit Transaction, such as the transaction ID, amount, currency, payer info, or vaulted shopper.


πŸ“˜

Tip

You can test out a request that hits our sandbox in real-time. Follow the instructions here to use the "Try It!" feature on the right side.

Request Content

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

Retrieve based on Transaction ID

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

For example: services/2/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).

Back to Top


Examples

Request Examples

curl -v -X GET https://sandbox.bluesnap.com/services/2/alt-transactions/38702776 \
-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/unique-becs-71522-01,400088 \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \ 
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '

Response Examples

{
  "transactionId": "38702776",
  "amount": 11,
  "currency": "AUD",
  "vaultedShopperId": 19602910,
  "becsDirectDebitTransaction": {
    "bsbNumber": "980201",
    "accountName": "Vasya Pupkin",
    "financialInstitution": "financialInstitution",
    "branchName": "branchName",
    "publicAccountNumber": "5557",
    "agreementId": 81
  },
  "processingInfo": {
    "processingStatus": "PENDING"
  }
}
{
  "merchantTransactionId": "unique-becs-71522-01",
  "transactionId": "38702782",
  "amount": 77,
  "currency": "AUD",
  "payerInfo": {
    "firstName": "Boris",
    "lastName": "Britva",
    "country": "au",
    "zip": "12345"
  },
  "vaultedShopperId": 19611056,
  "becsDirectDebitTransaction": {
    "bsbNumber": "980201",
    "accountName": "Boris Britva",
    "financialInstitution": "financialInstitution",
    "branchName": "branchName",
    "publicAccountNumber": "0002",
    "agreementId": 81
  },
  "processingInfo": {
    "processingStatus": "PENDING"
  }
}

API Explorer (for request based on Transaction ID)

To test out a call, enter an existing transaction ID in the transactionId field. This automatically inserts the ID into the request URL in the right-hand column.

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