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
}
Retrieve the details of an existing charge.
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
}
{
"id": "ch_hsb6rfQVReo6Mq1M2jEXrD1m",
"source": "src_HKoSZYDa7DQhnBH2XKTJBGEe",
"date": "2023-11-06",
"amount": "1000.0",
"currency": "USD",
"status": "pending",
"reference": null
}
Was this page helpful?