Get payment by id
Retrieve a single payment by its ID to get amount, status, currency, products, and timestamps. Use this after a payment is created (e.g. from the checkout flow or from a webhook transaction_id).
Endpoint
GET /transactions/<id>/
Authentication: Required (API key).
id — Path parameter: public payment ID (e.g. TXabc123) or numeric transaction ID. The public ID is returned in webhooks as transaction_id.
Response (200)
{
"id": "TXabc123",
"amount": "99.00",
"status": "paid",
"currency": "USD",
"payer_email": "customer@example.com",
"products": [
{ "id": "prod_xyz", "name": "Premium Plan" }
],
"created_at": "2026-02-22T14:30:00Z"
}
| Field | Description |
|---|---|
id | Public payment ID (e.g. TXabc123) |
amount | Net amount (after fees) |
status | paid, failed, refund_pending, refunded, canceled, processing |
currency | Currency code (e.g. USD) |
payer_email | Customer email when available |
products | List of products (id, name) |
created_at | ISO 8601 timestamp |
Example
curl -X GET "https://api.sandbox.nd8.com/api/transactions/TXabc123/" \
-H "Authorization: Api-Key YOUR_API_KEY"
Use the same API key as for Create payment. The payment must belong to your organization.