Prerequisites
- A Plane API key (set up authentication)
- An active worker to pay (see Onboard a contractor)
- The worker must have a bank account configured in Plane
Create a payment
To send funds, create a payment specifying the worker, amount, and currency:Response
When you omit the
date field, Plane schedules the payment for the soonest available date. You can also specify a future date to schedule the payment in advance.Payment options
You can customize several aspects of the payment:| Parameter | Description |
|---|---|
account | Send to a specific bank account. Omit to use the worker’s preferred account for the given currency. |
date | Schedule for a specific date. Omit for the soonest available date. |
reference | A reference visible to the worker (e.g., an invoice number). Plane generates one if omitted. |
note | A memo included with the payment, which may appear on the worker’s bank statement. |
period | Associate the payment with a date range (e.g., a service period). |
metadata | Attach arbitrary key-value data for your own tracking. |
Check payment status
After creating a payment, retrieve it to see its current status:Track payment lifecycle with webhooks
Set up webhooks to get notified as the payment progresses:payment.created—the payment was created and is pendingpayment.updated—the payment status changed (e.g., processing, completed)
Cancel a payment
If a payment has not been processed yet, you can cancel it:cURL
Next steps
Payment requests
Let workers submit payment requests for approval.
Payments API
Full reference for the payments resource.