GET
/
charges
/
{id}
curl --request GET \
  --url https://api.plane.com/v1/charges/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "ch_hsb6rfQVReo6Mq1M2jEXrD1m",
  "source": "src_HKoSZYDa7DQhnBH2XKTJBGEe",
  "date": "2023-11-06",
  "amount": "1000.0",
  "currency": "USD",
  "status": "pending",
  "reference": null
}

Parameters

id
string
required

The ID of a charge object.

Returns

Returns a charge if a valid identifier was provided, and returns an error otherwise.

{
  "id": "ch_hsb6rfQVReo6Mq1M2jEXrD1m",
  "source": "src_HKoSZYDa7DQhnBH2XKTJBGEe",
  "date": "2023-11-06",
  "amount": "1000.0",
  "currency": "USD",
  "status": "pending",
  "reference": null
}