GET
/
transactions
/
{id}
Get transaction by ID
curl --request GET \
  --url https://api.paygentic.io/v0/transactions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "transaction",
  "data": {
    "id": "<string>",
    "sourceAccountId": "<string>",
    "destinationAccountId": "<string>",
    "debitAccountId": "<string>",
    "creditAccountId": "<string>",
    "amount": 123,
    "description": "<string>",
    "createdAt": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Transaction ID with txn_ prefix

Response

200
application/json

Transaction details

The response is of type object.