⚙️
1Konto v1.0 API Docs
  • Welcome!
  • Reference
    • API Reference
    • Service
      • Service Information
      • Service Time
    • Authentication
      • Login and Authentication
    • Market Data
      • Get Top of Book
      • Get Order Book
    • Accounting
      • Get Account
      • Get Account Credit
      • Get Transactions
      • Transfers Instructions
        • Get Deposit Instructions
        • Get Withdraw Instructions
      • Withdraw Requests
        • Request Withdraw - Fiat
        • Request Withdraw - Blockchain
        • Querying for Withdraw Requests
    • Orders
      • Available Asset Pairs
      • Request Indicative Price
      • Market Order
      • Limit Order
      • RFQ - Request for Quote
        • Request Quote
        • Accept Quote
      • Querying for Orders
      • Get Order
Powered by GitBook
On this page
  • Request Withdraw for Currency (Fiat)
  • Example
  1. Reference
  2. Accounting
  3. Withdraw Requests

Request Withdraw - Fiat

requires auth

Request Withdraw for Currency (Fiat)

Endpoint to request a withdraw from your 1KPrime account to your external whitelisted Bank accounts.

POST /api/v1/accounting/account/{accountId}/request/withdraw/fiat

Path Parameters:

Path
Type
Description

accountId*

string

your account ID

Body Parameters:

Body
Type
Description

amount *

object

Asset amount you want to withdraw

type *

string

The method to perform the transfer.

Enum: "undefined", "ach", "fedwire", "rtp", "cbit"

routingNumber

string

Your Bank's routing number

accountNumber

string

Your account number at the recepient Bank.

instructions

array of string

Any additional instructions

Example

POST /api/v1/accounting/account/myAccountID/request/withdraw/blockchain
// Request body
{
    "amount": "100 USD",
    "type": "wire", // others "ach", "rtp", etc
    "routingNumber": "01234567890123",
    "accountNumber": "012345",
    "instructions": [
        "aditional instruction"
    ]
}
// Successful Response body 
{
    "withdrawRequestId": "oiJ8s7oh8EqFwwnkZViCGg",
    "requestStatus": "pending",
    "status": "ok",
    "httpStatusCode": 200
}
// Error Response body
{
    "errors": [
        "Insufficient Funds: Requested 200100 USD but only 199800 USD is available"
    ],
    "status": "badRequest",
    "httpStatusCode": 400
}
PreviousWithdraw RequestsNextRequest Withdraw - Blockchain

Last updated 1 year ago

Page cover image