Get transaction details
This transaction ID can be used with the SDK to fetch additional details about the transaction.Visit the API reference documentation for full details about the
transaction resource, and any other API.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -i -X GET "https://api.example.gr4vy.app/transactions/fe26475d-ec3e-4884-9553-f7356683f7f9" \
-H "Authorization: Bearer [JWT_TOKEN]"
const response = await client.getTransaction(transaction_id);
console.log(response.data);
response = client.get_transaction(transaction_id)
print(response)
$result = $apiInstance->getTransaction($transaction_id);
echo $result;
{
"type": "transaction",
"id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
"status": "authorized",
"amount": 1299,
"currency": "AUD",
"payment_method": {
"type": "payment-method",
"id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
"method": "card",
...
},
...
}
Was this page helpful?