BuckBus
API
API
  1. Withdrawals
  • API Introduction
    • Introduction
    • References
    • Test store
    • Authorization
    • Processing of requests
    • Webhooks
  • APIs
    • Assets
      • List assets
    • Accounts
      • List accounts
    • Payments
      • Create payment
      • Create fiat payment
      • List payments
      • Payment details
      • List payment transactions
    • Dedicated addresses
      • Create dedicated address
      • Release dedicated address
    • Transfers
      • Create transfer
    • Withdrawals
      • Create withdrawal
        POST
      • Withdrawal details
        GET
    • Convert
      • Convert amount
  • Schemas
    • Payment
    • PaymentTransaction
    • Lang
    • Withdrawal
    • DedicatedAddress
    • Providers
    • Asset
    • Account
    • Accounts
API
API
  1. Withdrawals

Create withdrawal

POST
https://api.bucksbus.com/int/withdraw

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠401Unauthorized
🟠422Unprocessible Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.bucksbus.com/int/withdraw' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 0,
    "address": "string",
    "asset_id": "string",
    "withdraw_asset_id": "string",
    "payer_email": "user@example.com",
    "payer_name": "string",
    "description": "string",
    "webhook_url": "string",
    "auto_realloc": "string",
    "timeout": 0,
    "custom": "string",
    "custom1": "string",
    "custom2": "string",
    "custom3": "string",
    "custom4": "string",
    "custom5": "string",
    "custom6": "string",
    "custom7": "string",
    "custom8": "string",
    "custom9": "string"
}'
Response Response Example
200 - Example 1
{
    "withdraw_id": "string",
    "store_id": "string",
    "store_name": "string",
    "account_id": "string",
    "withdraw_num": "string",
    "is_test": true,
    "amount": "string",
    "asset_id": "string",
    "fee": "string",
    "fee_asset_id": "string",
    "crypto_network": "string",
    "crypto_network_name": "string",
    "status": "string",
    "status_name": "string",
    "address": "string",
    "confirms": 0,
    "start_date": "string",
    "end_date": "string",
    "complete_date": "string",
    "description": "string",
    "payer_email": "user@example.com",
    "payer_name": "string",
    "webhook_url": "string",
    "timeout": 0,
    "custom": "string",
    "custom1": "string",
    "custom2": "string",
    "custom3": "string",
    "custom4": "string",
    "custom5": "string",
    "custom6": "string",
    "custom7": "string",
    "custom8": "string",
    "custom9": "string"
}
Previous
Create transfer
Next
Withdrawal details
Built with