POST
/
apply
/
deposit
curl --request POST \
  --url https://api.treasuryprime.com/apply/deposit \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ach": {
    "account_number": "98765432109",
    "account_type": "checking",
    "routing_number": "123456789"
  },
  "amount": "100.00",
  "name_on_account": "George Washington"
}'
{
  "ach": {
    "account_type": "checking",
    "last4": "2109",
    "routing_number": "123456789"
  },
  "amount": "100.00",
  "card": null,
  "card_token": null,
  "created_at": "2019-03-02T11:53:55Z",
  "id": "adpt_01d5wcysg3vz",
  "name_on_account": "George Washington",
  "updated_at": "2019-03-02T11:53:55Z",
  "userdata": null
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
The apply.deposit to create
amount
string
required

Amount of money to transfer

name_on_account
string
required

Name of the owner of the account providing the deposit

ach
object

ACH payment instructions

card
object
deprecated

Debit card payment instructions

card_token
object

Tokenized debit card payment instructions

userdata
object

Arbitrary data the user can attach to the object

Response

200 - application/json
The apply.deposit created
ach
object

ACH payment instructions

amount
string

Amount of money to transfer

card
object
deprecated

Debit card payment instructions

card_token
object

Tokenized debit card payment instructions

id
string

Unique identifier for object

name_on_account
string

Name of the owner of the account providing the deposit

userdata
object

Arbitrary data the user can attach to the object