v1
latestOpenAPI 3.0.22026-07-24113565544.0 KBDeposits
Create Deposit
Creates a Deposit.
post/funding/deposits
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": 250.25,
"currency": "USD",
"type": "ACH",
"bankAccountID": "bank_a4656e60-321e-425b-aa0d-a2e75c38885f",
"note": "Hey! Welcome to DriveWealth Developer Docs!",
"iraContribution": "POSTPONED_CONTRIBUTION",
"iraContributionSubType": "SC",
"recurringFrequency": "MONTHLY_FIRST",
"startDate": "2017-09-18",
"settlementProfileID": "settlement-profile-bank-account-1",
"originatorBankDetails": {
"bankAccountNumber": "7442393174",
"bankRoutingNumber": "110000000",
"bankName": "Bank of America",
"bankAddress": "222 Broadway, New York City, NY, 10038",
"accountHolderName": "Justin Smith",
"accountHolderAddress": "15 Exchange Place, Jersey City, NJ, 07302",
"accountHolderCountry": "USA",
"bankCountry": "USA"
},
"metadata": {
"myCustomKey": "myCustomValue"
}
}Response
Creating a User's Account Deposit was successful.
Example response
{
"id": "-DMIQY",
"accountNo": "DWBG000052",
"category": "DEPOSIT",
"currency": "USD",
"amount": 250.25,
"status": "PENDING",
"source": {
"id": "ACH",
"brand": "ACH",
"meta_info": "Hey! Welcome to DriveWealth Developer Docs!"
},
"created": "2022-12-11T22:28:21.810Z",
"accountID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932.1407775317759",
"userID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932",
"transactionCode": "JOURNAL",
"wlpFinTranTypeID": "c43bab85-2916-4831-a0db-66215150a6e4",
"iraContribution": "POSTPONED_CONTRIBUTION",
"iraContributionSubType": "SC",
"batch": true,
"recurring": {
"id": "recurring_98be6652-6361-4d4c-905b-06e9ec38d060",
"nextDeposit": "2019-01-15",
"frequency": "MONTHLY_FIRST"
}
}