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",
  "data": {
    "transaction": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "deposit",
      "status": "pending",
      "amount": 123,
      "currency": "<string>",
      "description": "<string>",
      "created_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

{
  "success": true,
  "message": "Transaction retrieved successfully",
  "data": {
    "transaction": {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "type": "withdrawal",
      "status": "completed",
      "amount": 500000,
      "currency": "NGN",
      "description": "Vendor payment",
      "created_at": "2024-01-15T10:30:00.000Z"
    }
  }
}
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"

data
object