Retrieve Transaction

1. Introduction

The Retrieve Transaction API can be used to understand various details of the transaction including payment status, refund status, auth code of the transaction etc.

Merchant can retrieve the terminal status of the transaction by requesting retrieve transaction API to BillDesk.

Understanding the various Retrieve Transaction Status codes:

StatusStatus CodeDescription
SUCCESSFUL0300A transaction which has been initiated at BillDesk is marked as successful.
PENDING0002A transaction which has been initiated but is in pending status.
FAILED0399A transaction which has been initiated but is in failed state.

2. Salient Features

  • Manage internal workflows seamlessly at merchant's end

3. API Orchestration

The orchestration of the APIs/ workflow has been explained below:

API Reference

Description

Retrieve Transaction

Case 1: Retrieve the transaction by using mercidand orderid.

Case 2: Retrieve the transaction by using mercidand the transactionid.

Case 3: retrieve the transaction with the refund status by additionally passing refund_details as true. Note - It is recommended that the merchant use refund_details as true attribute to also get details of any refunds for this transaction while trying to understand the overall status of the said charge transaction.

For sample code click here.