Process Cashout
POST /cashout/process
Initiates a cashout request. Validates the user’s balance, cashout parameters, and deducts the amount before creating the cashout record.
connected
Body Parameters
The cashout method type (e.g.,
"paypal", "payoneer", "tipalti").The amount to cash out (in cents).
The payment provider (
"paypal", "payoneer", or "tipalti").| Status | Message |
|---|---|
error | User not authenticated |
error | Missing required parameters: type and amount |
error | Insufficient balance |
error | Invalid amount |
error | Failed to deduct balance |
Link Cashout Method
POST /cashout/link
Links a cashout method to the user’s account. Supports PayPal, Payoneer, and Tipalti with different flows for each provider.
connected
Body Parameters (all providers)
The payment provider:
"paypal", "payoneer", or "tipalti".PayPal & Payoneer
Returns a link URL that the user should follow to complete account linking.Tipalti — Additional Parameters
"Individual" or "Company".First name (required for Individual payee).
Last name (required for Individual payee).
Company name (required for Company payee type).
Email address for the payee.
Address object with the following fields:
Phone number (optional).
Tax details (optional).
Payment method preferences (optional — can be set during onboarding).
Response — PayPal / Payoneer
Response — Tipalti
Unlink Cashout Method
POST /cashout/unlink
Removes a linked cashout method from the user’s account. Currently only supports Payoneer.
connected
Body Parameters
The provider to unlink. Currently only
"payoneer" is supported.| Status | Message |
|---|---|
error | Missing required parameter: provider |
error | Invalid provider |
error | Failed to unlink cashout method. The method may not be linked or an error occurred. |