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
}
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
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The apply.deposit to create
The body is of type object
.
The apply.deposit created
The response is of type object
.
Was this page helpful?