curl --request POST \
--url https://api.plane.com/v1/payment-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"worker": "<string>",
"amount": "<string>",
"currency": "<string>",
"reference": "<string>",
"note": "<string>",
"period": {}
}
'{
"id": "ptr_ogdEjSnSqNYxtW1sd3pC3hFX"
}
Create a contractor payment request in your Plane workspace.
curl --request POST \
--url https://api.plane.com/v1/payment-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"worker": "<string>",
"amount": "<string>",
"currency": "<string>",
"reference": "<string>",
"note": "<string>",
"period": {}
}
'{
"id": "ptr_ogdEjSnSqNYxtW1sd3pC3hFX"
}
{
"id": "ptr_ogdEjSnSqNYxtW1sd3pC3hFX"
}
Was this page helpful?