Skip to main content

Withdrawals

Making a withdraw request order.

To make a withdrawal request on the platform via API, it is necessary to make a POST request with the following configuration:

URL

https://api.bembit.com/api/v1/orders/withdraw

Method

POST

Params

Important!

The parameters for this request should be passed to the endpoint via headers, along with the request body at the time of the request.

ParamsTypeDefault valuesDescription
apistringundefinedYour API Key
secretstringundefinedYour Secret
currencystringundefinedThe selected currency to withdraw.
amountinteger0Withdrawal value.

cURL:

curl -X 'POST' \
'https://api.bembit.com/api/v1/orders/withdraw' \
-H 'accept: */*' \
-H 'api: [Your API]' \
-H 'secret: [Your Secret]' \
-H 'Content-Type: application/json' \
-d '{
"currency": "BRL",
"amount": 1000
}'

Request Body:

{
"currency": "BRL",
"amount": 1000
}
  • currency: Currency to wihdraw.
  • amount: Withdrawal value.

Server Responses:

Status 200:

Success

Status 401:

Error: response status is 401

Status 403:

Unauthorized

See and test our API on Swagger.