Skip to content
Funds Transfers

Create Withdrawalexperimental

POST/api/withdrawals

This endpoint allows you to create a withdrawal.

Request body

  • amountrequired bignumber
    Total amount of the transaction in cents.
  • assetIdrequired string
    The id of the asset.
  • bankAccountIdrequired string
    The id of the bank account.

Responses

Request
curl -X POST https://service.centrapay.com/api/withdrawals \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"amount": "10000",
"assetId": "Te2uDM7xhDLWGVJU3nzwnh",
"bankAccountId": "FRhAzzWpTKb5U7pZygQjjY"
}'