Skip to main content
GET
/
virtual-accounts
/
admin
/
transactions
/
{transaction_id}
Get transaction detail (admin)
curl --request GET \
  --url https://prod-api.pcxpay.com/v1/virtual-accounts/admin/transactions/{transaction_id} \
  --header 'Authorization: <authorization>' \
  --header 'X-Api-Key: <x-api-key>'
{
  "status": "success",
  "message": "Operation completed successfully",
  "data": {
    "transaction_id": "<string>",
    "account_id": "<string>",
    "org_id": "<string>",
    "user_id": "<string>",
    "type": "credit",
    "status": "pending",
    "amount": 123,
    "currency": "<string>",
    "fee": 123,
    "description": "<string>",
    "payment_rail": "<string>",
    "reference": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pcxpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
default:NONE
required

Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.

Example:

"Bearer eyJraWQ..."

X-Api-Key
string
default:NONE
required

API key for server-to-server flows, or the literal string NONE when authenticating via JWT.

Example:

"pcx_abc123_xxxx"

Path Parameters

transaction_id
string
required

Response

Transaction detail

status
enum<string>
Available options:
success,
error
Example:

"success"

message
string
Example:

"Operation completed successfully"

data
object