Payments
Get a payment
Retrieve the details of an existing payment.
GET
/
payments
/
{id}
curl --request GET \
--url https://api.plane.com/v1/payments/{id} \
--header 'Authorization: <authorization>'
{
"id": "pt_KhzQL81YnE3B7K6MZb65gCJx",
"worker": "wr_CgcLakmx4guire",
"date": "2023-10-31",
"amount": "12000.0",
"currency": "USD",
"status": "pending",
"reference": "EFAK1ACH",
"note": null,
"period": {
"starts": "2023-10-01",
"ends": "2023-10-31"
}
}
Parameters
id
string
requiredThe ID of a payment object.
Returns
Returns a payment if a valid identifier was provided, and returns an error otherwise.
Was this page helpful?
curl --request GET \
--url https://api.plane.com/v1/payments/{id} \
--header 'Authorization: <authorization>'
{
"id": "pt_KhzQL81YnE3B7K6MZb65gCJx",
"worker": "wr_CgcLakmx4guire",
"date": "2023-10-31",
"amount": "12000.0",
"currency": "USD",
"status": "pending",
"reference": "EFAK1ACH",
"note": null,
"period": {
"starts": "2023-10-01",
"ends": "2023-10-31"
}
}