Skip to main content
GET
https://api-sandbox.pavewaygroup.com/v1
/
transactions
/
{id}
Retrieve a Transaction
curl --request GET \
  --url https://api-sandbox.pavewaygroup.com/v1/transactions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "id": "658dc...",
    "object": "payment_intent",
    "amount": "10000",
    "currency": "XAF",
    "status": "succeeded",
    "merchant_reference": "ORD-12345",
    "payment_ref": "PWG_abc123",
    "description": "Order #12345",
    "created_at": 1735689600,
    "customer": {
      "firstname": "John",
      "lastname": "Doe",
      "email": "john.doe@example.com",
      "phone": "237612345678"
    }
  }
}

Authentication

Include your Secret Key in the Authorization header as a Bearer token.
Authorization: Bearer sk_test_...

Path Parameters

id
string
required
The unique ID of the transaction.

Response Schema

Returns a full Transaction object.
id
string
Unique identifier for the transaction.
object
string
Value is payment_intent.
amount
string
Total amount charged.
currency
string
Three-letter ISO currency code.
status
string
Current status (succeeded, failed, requires_action, etc.).
payment_ref
string
PaveWay’s unique public reference.
merchant_reference
string
Your provided order reference.
description
string
Transaction description.
created_at
integer
Timestamp of creation (Unix epoch).
customer
object
metadata
object
Custom metadata provided during creation.
{
  "status": "success",
  "data": {
    "id": "658dc...",
    "object": "payment_intent",
    "amount": "10000",
    "currency": "XAF",
    "status": "succeeded",
    "merchant_reference": "ORD-12345",
    "payment_ref": "PWG_abc123",
    "description": "Order #12345",
    "created_at": 1735689600,
    "customer": {
      "firstname": "John",
      "lastname": "Doe",
      "email": "john.doe@example.com",
      "phone": "237612345678"
    }
  }
}