v1
latestOpenAPI 3.0.22026-07-24113565544.0 KBWithdrawals
Create Withdrawal
Creates a Withdrawal.
post/funding/redemptions
Headers
Idempotency-Keystring
Example:a1b2c3d4-5e6f-7g8h-9i0j-1k2l3m4n5o6
A unique key (UUID) that is used to prevent duplicate requests. Should a network interruption occur, or you otherwise lost a response from the API, you can safely perform the request provided that you send the same value as the Idempotency-Key. DriveWealth Idempotency Keys are saved for 4 days. Within this time period, sending any request with a duplicate key will return the exact same response as the original request, including the same status code and payload.
Request body
Example request
{
"accountNo": "DWBG000052",
"amount": 125.92,
"currency": "USD",
"type": "ACH",
"bankAccountID": "bank_a4656e60-321e-425b-aa0d-a2e75c38885f",
"details": {
"beneficiaryName": "Justin Smith",
"beneficiaryAccountNumber": "00257596002028990212396",
"beneficiaryAccountType": "CHECKING",
"beneficiaryRoutingNumber": "021000322",
"beneficiarySwiftABA": "BOFAUS3NXXX",
"beneficiaryBankName": "Bank of America",
"beneficiaryBankAddress": "222 BROADWAY",
"beneficiaryBankCity": "New York City",
"beneficiaryBankProvince": "New York",
"beneficiaryBankZip": "10038",
"beneficiaryBankCountry": "USA",
"intermediarySwift": "CHASUS3AXXX",
"intermediaryBankName": "J.P Morgan Chase & Co."
},
"iraDistribution": "EARLY_DISTRIBUTION_PENALTY_EXCEPTION",
"iraDistributionSubType": "SUBSTANTIALLY_EQUAL_PERIODIC_PAYMENTS_SEPP_72T",
"iraTaxWithholdings": {
"federalTaxPercentage": 0.1,
"stateTaxPercentage": 0.1
},
"fees": [
{
"type": "FEE_ACH",
"description": "Fee - ACH",
"amount": -5.99,
"wlpFinTranTypeID": "c43bab85-2916-4831-a0db-66215150a6e4",
"transactionCode": "JOURNAL",
"finTranReference": "HG.cd22a78a-8a48-441c-89d2-ea400964a34b",
"created": "2022-12-11T22:28:21.810Z",
"currency": "USD",
"symbol": "$"
}
],
"note": "Hey! Welcome to DriveWealth Developer Docs!",
"remittanceInformation": "Withdrawal from investment account",
"settlementProfileID": "settlement-profile-bank-account-1"
}Response
Creating a User's Account Withdrawal was successful.
Example response
{
"id": "-RIUIN",
"accountNo": "DWBG000052",
"category": "REDEMPTION",
"currency": "USD",
"amount": -560.36,
"status": {
"id": 1,
"message": "PENDING",
"updated": "2022-12-11T22:28:21.810Z"
},
"source": {
"id": "ACH",
"meta_info": "Hey! Welcome to DriveWealth Developer Docs!"
},
"paymentRef": "-RIUIN",
"created": "2022-12-08T18:36:40.609Z",
"accountID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932.1407775317759",
"userID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932",
"transactionCode": "JOURNAL",
"wlpFinTranTypeID": "c43bab85-2916-4831-a0db-66215150a6e4",
"batch": true,
"account_number": "DWBG000052",
"iraDistribution": "EARLY_DISTRIBUTION_PENALTY_EXCEPTION",
"iraDistributionSubType": "SUBSTANTIALLY_EQUAL_PERIODIC_PAYMENTS_SEPP_72T",
"remittanceInformation": "Withdrawal from investment account"
}