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
}
}
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
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Transaction ID with txn_ prefix
Transaction details
The response is of type object
.