GET
/
transactions
/
{transaction}
curl --request GET \
  --url https://api.chargeapi.co/v1/transactions/{transaction} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": null,
  "object": null,
  "amount": null,
  "charging_session": null,
  "created": null,
  "currency": null,
  "description": null,
  "driver": null,
  "payment_method": null,
  "status": null,
  "type": null,
  "vehicle": null
}

Path Parameters

transaction
string
required

ID of the transaction to retrieve.

Query Parameters

expand
string[]

Specifies related objects to expand in the response (for example, expand[]=charging_session).

Body

application/json · object

Response

200
application/json

Returns the Transaction object for a valid identifier. Raises an error otherwise.