curl --request POST \
--url https://api.plane.com/v1/payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"worker": "<string>",
"amount": "<string>",
"currency": "<string>",
"account": "<string>",
"date": "<string>",
"metadata": {},
"reference": "<string>",
"note": "<string>",
"period": {}
}
'{
"id": "pt_ogdEjSnSqNYxtW1sd3pC3hFX"
}
To send funds to a worker on Plane, you create a new payment object.
curl --request POST \
--url https://api.plane.com/v1/payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"worker": "<string>",
"amount": "<string>",
"currency": "<string>",
"account": "<string>",
"date": "<string>",
"metadata": {},
"reference": "<string>",
"note": "<string>",
"period": {}
}
'{
"id": "pt_ogdEjSnSqNYxtW1sd3pC3hFX"
}
{
"id": "pt_ogdEjSnSqNYxtW1sd3pC3hFX"
}
Was this page helpful?