LogoLogo
  • GENERAL
    • About Criptan
    • Get started
      • Introduction
      • 1. Activate your account
      • 2. Add funds to your balance
      • 3. Start interacting with the API
    • API
      • Introduction
      • Authentication
        • Auth Transactions and Earn
          • API Reference
        • Auth Business (Criptan Pay)
      • Real-Time API (WebSockets)
        • OHLCV
        • TICKERS
      • Webhooks
        • Transactions and Earn Webhooks
        • Business Webhooks
      • API reference
      • Changelog
    • Developer tools
      • Sandbox
      • Support
      • Feedback
    • Security
  • Transactions
    • General
      • Overview
      • Available exchange
      • Geographic availability
      • Use cases
        • Buy
          • UX example
        • Sell
          • UX example
        • Send crypto
          • UX example
        • Receive crypto
          • UX example
        • Recurring purchases
          • UX example
        • Check history
      • FAQ
    • API Reference
      • Trades
      • Withdrawals
      • Information
  • Earn
    • General
      • Overview
      • Geographic availability
      • Use cases
        • 3, 6, 12 months
          • Make a deposit
            • UX example
          • Set up auto-renew a deposit automatically
            • UX example
        • Flex
          • Make a deposit
            • UX example
          • Make a withdrawal
            • UX example
          • Cancel a withdrawal
            • UX example
          • Set up reinvest or not rewards
            • UX example
        • Flex and 3, 6, 12 months
          • Receiving Rewards
      • FAQ
    • API Reference
  • Business (Criptan Pay)
    • General
      • Business (Criptan Pay)
      • Onboarding
      • Payment Button
      • Charges
      • FAQ
    • API Reference
      • Charge
      • Generate charge receipt
      • Get payment
    • Types CPay definitions
      • BusinessAccount
      • BusinessCharge
Powered by GitBook
On this page
  1. Transactions
  2. API Reference

Withdrawals

PreviousTradesNextInformation

Last updated 1 year ago

post
Authorizations
Path parameters
quoteIdstringRequired
Responses
200
Fiat withdrawal quote confirmed successfully
application/json
400Error
application/json
500Error
application/json
post
POST /quotes/fiat-withdrawal/{quoteId}/confirm HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
{
  "success": true
}
  • POST/quotes/crypto-withdrawal/{quoteId}/confirm
  • POST/quotes/crypto-withdrawal
  • POST/quotes/fiat-withdrawal/{quoteId}/confirm
  • POST/quotes/fiat-withdrawal
post
Authorizations
Path parameters
quoteIdstringRequired
Responses
200
Crypto withdrawal quote confirmed successfully
application/json
400Error
application/json
500Error
application/json
post
POST /quotes/crypto-withdrawal/{quoteId}/confirm HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
{
  "success": true
}
post
Authorizations
Body
amountstringRequired
addressstringRequired
currencystring · enumRequiredPossible values:
Responses
201
Crypto withdrawal quote created successfully
application/json
400Error
application/json
500Error
application/json
post
POST /quotes/crypto-withdrawal HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "amount": "text",
  "address": "text",
  "currency": "BTC"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "type": "CryptoWithdrawal",
  "paymentMethod": "BALANCE",
  "side": "BUY",
  "pair": "BTC_EUR",
  "currency": "BTC",
  "amount": 1,
  "totalAmount": 1,
  "quantity": 1,
  "used": true,
  "expirationDate": "text",
  "price": 1,
  "marketPrice": 1,
  "fee": 1,
  "parameters": {
    "markup": 1,
    "creditCardTolerance": 1,
    "fixedFee": 1,
    "minFee": 1,
    "variableFeeRate": 1,
    "commission": 1,
    "iban": "text",
    "address": "text",
    "addressUserId": "text",
    "isInternal": true,
    "isBusinessAddress": true,
    "originalAmount": 1,
    "target": "FIAT_WITHDRAWAL"
  },
  "userId": "text",
  "liteTradingMarketPrice": 1
}
post
Authorizations
Body
amountstringRequired
currencystring · enumRequiredPossible values:
ibanstring · min: 16Required
Responses
201
Fiat withdrawal quote created successfully
application/json
400Error
application/json
500Error
application/json
post
POST /quotes/fiat-withdrawal HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "amount": "text",
  "currency": "EUR",
  "iban": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "type": "CryptoWithdrawal",
  "paymentMethod": "BALANCE",
  "side": "BUY",
  "pair": "BTC_EUR",
  "currency": "BTC",
  "amount": 1,
  "totalAmount": 1,
  "quantity": 1,
  "used": true,
  "expirationDate": "text",
  "price": 1,
  "marketPrice": 1,
  "fee": 1,
  "parameters": {
    "markup": 1,
    "creditCardTolerance": 1,
    "fixedFee": 1,
    "minFee": 1,
    "variableFeeRate": 1,
    "commission": 1,
    "iban": "text",
    "address": "text",
    "addressUserId": "text",
    "isInternal": true,
    "isBusinessAddress": true,
    "originalAmount": 1,
    "target": "FIAT_WITHDRAWAL"
  },
  "userId": "text",
  "liteTradingMarketPrice": 1
}