curl --request POST \
--url https://api.plane.com/v1/payment-requests/{id}/decline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"approver": "<string>",
"reason": "<string>",
"correctable": "<string>"
}
'{
"id": "ptr_ogdEjSnSqNYxtW1sd3pC3hFX",
"worker": "wr_anqRSFcK36ie85",
"amount": "1200.00",
"currency": "EUR",
"status": "declined",
"reference": "EV1S3GDM",
"note": "Payment for July",
"period": {
"starts": "2023-07-01",
"ends": "2023-07-31"
},
"documents": [],
"approvals": ["apr_YzmQ5oxQE78bDV3fZwEU3vGr"],
"payment": null
}
curl --request POST \
--url https://api.plane.com/v1/payment-requests/{id}/decline \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"approver": "<string>",
"reason": "<string>",
"correctable": "<string>"
}
'{
"id": "ptr_ogdEjSnSqNYxtW1sd3pC3hFX",
"worker": "wr_anqRSFcK36ie85",
"amount": "1200.00",
"currency": "EUR",
"status": "declined",
"reference": "EV1S3GDM",
"note": "Payment for July",
"period": {
"starts": "2023-07-01",
"ends": "2023-07-31"
},
"documents": [],
"approvals": ["apr_YzmQ5oxQE78bDV3fZwEU3vGr"],
"payment": null
}
true. When false,
the request will be permanently declined.Note: Permanently declining a request won’t prevent the worker from submitting a new request.{
"id": "ptr_ogdEjSnSqNYxtW1sd3pC3hFX",
"worker": "wr_anqRSFcK36ie85",
"amount": "1200.00",
"currency": "EUR",
"status": "declined",
"reference": "EV1S3GDM",
"note": "Payment for July",
"period": {
"starts": "2023-07-01",
"ends": "2023-07-31"
},
"documents": [],
"approvals": ["apr_YzmQ5oxQE78bDV3fZwEU3vGr"],
"payment": null
}
Was this page helpful?