swcpay
  • Payments
    • Crypto payment
    • Recurring payment
    • Link for payers
    • Receiving payment
    • Integration Testing Flow
    • Redirect to your URL using an iframe
    • Balance request
  • Withdrawal
  • Payments with static wallets for clients
  • Webhooks
  • Errors
  • Preparation for integration
Powered by GitBook
On this page

Withdrawal

PreviousBalance requestNextPayments with static wallets for clients

Last updated 5 months ago

Withdrawal

post

Withdrawal
This endpoint allows you to initiate a withdrawal of funds in a specific currency, to your wallet

Response
The response to this request is a JSON object, with the remaining balance in your currency

Header parameters
APIKEYstringOptional
Body
addressstringOptionalExample: TJh6ucJ2BwyFvrNFmDjPJ4SxRf7YHWBdpk
amountnumberOptionalExample: 10
currencystringOptionalExample: USDT (TRC20)
Responses
200Success
post
POST /api/v1/withdraw HTTP/1.1
Host: dashboard.swc-pay.com
Content-Type: application/json
Accept: */*
Content-Length: 86

{
  "address": "TJh6ucJ2BwyFvrNFmDjPJ4SxRf7YHWBdpk",
  "amount": 10,
  "currency": "USDT (TRC20)"
}
200Success

No content