Supported Formats

json

POST /api/withdraw
Hits for withdraw

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 User Not Found

Params

Param name Description
user_id
optional

User id

Validations:

  • Must be a String

payment_type
required

Typeof of payment

Validations:

  • Must be one of: PAYPAL, BANK_ACCOUNT, WIRE_ACCOUNT, PAYPAL_ACCOUNT.

amount_cents
required

Validations:

  • Must be a Integer


GET /api/withdraw/transaction_fees
Returns transaction fees

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 User Not Found

Params

Param name Description
user_id
optional

User id

Validations:

  • Must be a String


GET /api/withdraw/totals
Returns pending / withdrawable / requested / hyper_wallet totals

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden

GET /api/withdraw/recently_approved
Returns recently approved requests (last 1 hour)

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden

POST /api/withdraw/transfer
Transfer money from freelancer account to business account

Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 User Not Found

Params

Param name Description
account_id
required

Business account ID to transfer money

Validations:

  • Must be a String

notes
optional

Transfer notes

Validations:

  • Must be a String