curl --request POST \
--url https://api.plane.com/v1/payments/{id}/cancel \
--header 'Authorization: Bearer <token>'{
"id": "pt_KhzQL81YnE3B7K6MZb65gCJx",
"status": "cancelled"
}
Cancel a previously created payment.
curl --request POST \
--url https://api.plane.com/v1/payments/{id}/cancel \
--header 'Authorization: Bearer <token>'{
"id": "pt_KhzQL81YnE3B7K6MZb65gCJx",
"status": "cancelled"
}
pending.
{
"id": "pt_KhzQL81YnE3B7K6MZb65gCJx",
"status": "cancelled"
}
Was this page helpful?