get https://api-sandbox.GiftDeals.com/exchange/v3/RetrieveTransaction
This is a convenience API which provides a user friendly way to retrieve previously submitted transaction.
Status Returns
| Http Status | Response Model | Notes |
|---|---|---|
| ⚪ 200 | Transaction | |
| 🔴 400 | Error | |
| 🔴 404 | Error | |
| 🔴 409 | Error |
Error Code Returns
| 400 | request.missing.parameter.merchantId | deprecated |
| 400 | exchange.bhnContractId.required | deprecated |
| 400 | request.missing.parameter.requestId | The RequestId HTTP header value is missing |
| 400 | exchange.retrieve.txn.truncated.txnId.required | The request must include last six characters for transaction ID |
| 400 | exchange.retrieve.txn.truncated.txnId.invalid | truncated.txnId should be minimum 6 characters and maximum 26 characters |
| 400 | exchange.retrieve.txn.truncated.cardNumber.invalid | truncated.cardNumber should be minimum 4 digits and maximum 19 digits. |
| 400 | exchange.retrieve.txn.truncated.cardNumber.invalid | truncated.cardNumber should be only digits |
| 400 | exchange.invalid.x-api-key | The x-api-key HTTP header value is invalid. |
| 404 | exchange.transaction.not.found | The transaction specified by the transaction ID cannot be found |
| 404 | exchange.transaction.ambiguous | More than one transaction found with given transaction ID |
| 409 | exchange.retrieve.transaction.expired | The transaction has already expired |
| 409 | exchange.fraud.check.in.progress | We are still processing your fraud check |
| 409 | exchange.card.already.acquired | Card already acquired |
| 409 | exchange.acquired.card.transaction.cancelled | Acquire card transaction cancelled. Please submit a new quote request. |
| 409 | exchange.offer.code.expired | Offer code already expired |
