Skip to main content
GET
/
wallet
/
transaction
/
{transactionId}
Get Transaction
curl --request GET \
  --url https://api.rolla.xyz/api/v1/external/wallet/transaction/{transactionId} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "Transaction retrieved successfully",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "transaction_type": "deposit",
  "status": "pending",
  "description": "<string>",
  "external_reference": "<string>",
  "fee_amount": 123,
  "source_amount": 123,
  "destination_amount": 123,
  "source_currency": "<string>",
  "destination_currency": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Retrieve the full details of a specific wallet transaction by its ID.

Example Request

curl -X GET "https://api.rolla.xyz/api/v1/external/wallet/transaction/a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
  -H "X-API-Key: your_api_key_here"

Example Response

{
  "status": 200,
  "success": true,
  "message": "Transaction retrieved successfully",
  "data": {
    "transaction": {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "transaction_type": "withdrawal",
      "status": "completed",
      "description": "Vendor payment",
      "external_reference": "ref-abc123",
      "fee_amount": "53.00",
      "source_amount": "500000.00",
      "destination_amount": null,
      "source_currency": "NGN",
      "destination_currency": null,
      "exchange_rate": null,
      "created_at": "2024-01-15T10:30:00.000Z",
      "updated_at": "2024-01-15T10:30:45.000Z",
      "beneficiary": {
        "account_name": "JOHN DOE",
        "bank_name": "Access Bank",
        "bank_code": "000014",
        "account_number": "0123456789"
      }
    }
  }
}
The transactionId must be a valid UUID. You can obtain transaction IDs from the /wallet/transactions list endpoint.

Authorizations

X-API-Key
string
header
required

Your Rolla API key

Path Parameters

transactionId
string<uuid>
required

Transaction UUID

Response

Transaction retrieved successfully

success
boolean
Example:

true

message
string
Example:

"Transaction retrieved successfully"

id
string<uuid>
transaction_type
enum<string>
Available options:
deposit,
withdrawal,
swap
status
enum<string>
Available options:
pending,
completed,
failed,
rejected,
sent,
processing
description
string
external_reference
string | null
fee_amount
number
source_amount
number
destination_amount
number
source_currency
string
destination_currency
string
created_at
string<date-time>
updated_at
string<date-time>