Add account to interest tier
curl --request PUT \
--url https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}import requests
url = "https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
response = http.request(request)
puts response.read_body{
"account_token": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"interest_tier": {
"name": "Standard Checking",
"type": "CHECKING",
"token": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"default": true,
"description": "Standard interest tier for checking accounts.",
"created_time": "2026-01-15T09:00:00Z",
"current_rate": {
"account_rate": 3.75,
"created_time": "2026-06-01T12:00:00Z",
"updated_time": "2026-06-01T12:00:00Z",
"effective_date": "2026-07-01",
"effective_rate": 3.82
},
"updated_time": "2026-06-01T12:00:00Z"
}
}Interest Tier Accounts
Add account to interest tier
Adds a single account to the specified interest tier.
PUT
/
interestaccounts
/
interesttiers
/
{interest_tier_token}
/
accounts
/
{account_token}
Add account to interest tier
curl --request PUT \
--url https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}import requests
url = "https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}"
response = requests.put(url)
print(response.text)const options = {method: 'PUT'};
fetch('https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}"
req, _ := http.NewRequest("PUT", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-api.marqeta.com/v3/interestaccounts/interesttiers/{interest_tier_token}/accounts/{account_token}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
response = http.request(request)
puts response.read_body{
"account_token": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"interest_tier": {
"name": "Standard Checking",
"type": "CHECKING",
"token": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"default": true,
"description": "Standard interest tier for checking accounts.",
"created_time": "2026-01-15T09:00:00Z",
"current_rate": {
"account_rate": 3.75,
"created_time": "2026-06-01T12:00:00Z",
"updated_time": "2026-06-01T12:00:00Z",
"effective_date": "2026-07-01",
"effective_rate": 3.82
},
"updated_time": "2026-06-01T12:00:00Z"
}
}Use this endpoint to enroll one account in an interest tier. Enrolling an account applies the tier’s rate to the account’s balance. The
account_token is the token returned by the POST /v4/depositaccounts endpoint, and the interest_tier_token is the token returned when you created the tier.
The response returns the account’s token and the interest tier it is now assigned to, including the tier’s current rate. When the enrollment changes, the Interest Accounts service sends a webhook notification so that your system can reflect the change.
The endpoint returns a 404 error if the interest tier or the account does not exist, or if your program is not configured for interest.
To enroll many accounts in one request, see Add Accounts to Interest Tier. To check which tier an account is in, see Retrieve Account Interest Tier.Path Parameters
Response
Account added to the interest tier successfully
Represents an account's current interest tier assignment.
Was this page helpful?