Skip to main content
POST
/
apply
/
deposit
Create a Deposit
curl --request POST \
  --url https://api.treasuryprime.com/apply/deposit \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "<string>",
  "name_on_account": "<string>",
  "ach": {
    "account_type": "<string>",
    "routing_number": "<string>"
  },
  "card": {},
  "card_token": {
    "description": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "token": "<string>"
  },
  "userdata": {}
}
'
{
  "ach": {
    "account_type": "<string>",
    "routing_number": "<string>"
  },
  "amount": "<string>",
  "card": {},
  "card_token": {
    "description": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "token": "<string>"
  },
  "id": "<string>",
  "name_on_account": "<string>",
  "userdata": {}
}

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