Skip to main content
GET
/
v1
/
payments
/
{transactionId}
/
receipt
curl -X GET https://api.delegare.dev/v1/payments/txn_123456789/receipt \
  -H "X-Delegare-Merchant-Id: your_merchant_id" \
  -H "X-Delegare-Api-Key: your_api_key"
{
  "id": "txn_123456789",
  "status": "succeeded",
  "amountCents": 500,
  "currency": "usd",
  "rail": "stripe",
  "receiptUrl": "https://receipts.delegare.dev/txn_123456789"
}
Retrieve details of a specific payment, including its status, the rail used, and timestamps.

Headers

X-Delegare-Merchant-Id
string
required
Your merchant identifier.
X-Delegare-Api-Key
string
required
Your merchant API key.

Path Parameters

transactionId
string
required
The unique ID of the transaction to retrieve.

Response

id
string
The unique identifier for the transaction.
status
string
The status of the transaction (succeeded, failed, pending).
amountCents
integer
The transaction amount in cents (USD).
currency
string
The currency code, e.g., "usd".
rail
string
The rail used for settlement (stripe or base).
receiptUrl
string
A hosted URL to view the transaction receipt, if applicable.
curl -X GET https://api.delegare.dev/v1/payments/txn_123456789/receipt \
  -H "X-Delegare-Merchant-Id: your_merchant_id" \
  -H "X-Delegare-Api-Key: your_api_key"
{
  "id": "txn_123456789",
  "status": "succeeded",
  "amountCents": 500,
  "currency": "usd",
  "rail": "stripe",
  "receiptUrl": "https://receipts.delegare.dev/txn_123456789"
}