Charges
Get a charge
Retrieve the details of an existing charge.
GET
/
charges
/
{id}
curl --request GET \
--url https://api.plane.com/v1/charges/{id} \
--header 'Authorization: <authorization>'
{
"id": "ch_hsb6rfQVReo6Mq1M2jEXrD1m",
"source": "src_HKoSZYDa7DQhnBH2XKTJBGEe",
"date": "2023-11-06",
"amount": "1000.0",
"currency": "USD",
"status": "pending",
"reference": null
}
Parameters
id
string
requiredThe ID of a charge object.
Returns
Returns a charge if a valid identifier was provided, and returns an error otherwise.
Was this page helpful?
curl --request GET \
--url https://api.plane.com/v1/charges/{id} \
--header 'Authorization: <authorization>'
{
"id": "ch_hsb6rfQVReo6Mq1M2jEXrD1m",
"source": "src_HKoSZYDa7DQhnBH2XKTJBGEe",
"date": "2023-11-06",
"amount": "1000.0",
"currency": "USD",
"status": "pending",
"reference": null
}