GET
/
v1
/
transaction
/
{transactionId}
curl --request GET \
  --url 'https://doc-api.oppiwallet.com/api/v1/transaction/03ea5d69-9ebf-4bfc-9b77-3aec6a6784d6?transactionType=1' \
  --header 'signatureToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
  --header 'Content-Type: application/json'
{
  "transactionId": "03ea5d69-9ebf-4bfc-9b77-3aec6a6784d6",
  "receiverAddress": "0xAB710B08A....E02421Ff9Ef231Ee212",
  "depositAddress": "0xd5350F580....2bC925a07091b443732",
  "orderId": "ORDER_1",
  "tag": "",
  "currency": "ETH",
  "amount": "0.01",
  "callbackStatus": 0,
  "createdAt": "2024-05-09T06:05:20.087Z",
  "status": 0
}

Authentication

signatureToken
string
required
A JWT token required for API authentication. Generate JWT token as explained in section Generate JWT Token using empty string.

Headers

Content-Type
string
required
Must be set to application/json.

Path Parameters

transactionId
string
required
The unique identifier of the transaction you want to retrieve.

Query Parameters

transactionType
number
required
Transaction type: 1 for deposit transaction and 2 for withdraw transaction.

Request

No request body is required for this endpoint.
curl --request GET \
  --url 'https://doc-api.oppiwallet.com/api/v1/transaction/03ea5d69-9ebf-4bfc-9b77-3aec6a6784d6?transactionType=1' \
  --header 'signatureToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
  --header 'Content-Type: application/json'

Response

Returns the details of the requested transaction.
transactionId
string
required
Unique identifier for the transaction.
receiverAddress
string
required
The address where funds were sent.
depositAddress
string
required
The address where funds were deposited.
orderId
string
required
The order ID reference for the transaction.
tag
string
Tag associated with the transaction, if any.
currency
string
required
The cryptocurrency used in the transaction.
amount
string
required
The transaction amount.
callbackStatus
number
required
Status of the callback.
createdAt
string
required
Timestamp when the transaction was created.
status
number
required
Status of the transaction. 0=Pending, 1=Completed, 2=Failed
{
  "transactionId": "03ea5d69-9ebf-4bfc-9b77-3aec6a6784d6",
  "receiverAddress": "0xAB710B08A....E02421Ff9Ef231Ee212",
  "depositAddress": "0xd5350F580....2bC925a07091b443732",
  "orderId": "ORDER_1",
  "tag": "",
  "currency": "ETH",
  "amount": "0.01",
  "callbackStatus": 0,
  "createdAt": "2024-05-09T06:05:20.087Z",
  "status": 0
}