curl --request GET \
--url https://api-sandbox.synctera.com/v0/accounts/{account_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-sandbox.synctera.com/v0/accounts/{account_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-sandbox.synctera.com/v0/accounts/{account_id}', 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://api-sandbox.synctera.com/v0/accounts/{account_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api-sandbox.synctera.com/v0/accounts/{account_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.synctera.com/v0/accounts/{account_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.synctera.com/v0/accounts/{account_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"access_status": "ACTIVE",
"access_status_last_updated_time": "2023-11-07T05:31:56Z",
"account_closure": {
"destination_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_method": "ACH",
"reason": "BANK_REQUEST_REGULATORY_REASONS",
"reason_details": "<string>",
"cases": [
{
"case_id": "<string>",
"case_reason": "<string>"
}
],
"validation_responses": [
{
"details": {},
"message": "Cards decoupled from account",
"name": "cards",
"validated": true
}
]
},
"account_number": "<string>",
"account_number_masked": "123*****6789",
"account_program_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_purpose": "This account for the account holder's salary deposit.",
"account_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_title": "<string>",
"account_type": "CHARGE_SECURED",
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_payment_period": 20,
"balance_ceiling": {
"balance": 1,
"linked_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"overflow_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"balance_floor": {
"balance": 123,
"linked_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"overdraft_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"balances": [
{
"balance": 2399,
"type": "ACCOUNT_BALANCE"
}
],
"bank_account_id": "<string>",
"bank_routing": "<string>",
"billing_period": {
"frequency": "ANNUALLY",
"start_date": "2022-01-01T00:00:00Z"
},
"business_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"close_date": "2023-12-25",
"creation_time": "2023-11-07T05:31:56Z",
"credit_limit": 2500,
"currency": "USD",
"customer_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"customer_type": "BUSINESS",
"days_past_due": 123,
"exchange_rate_type": "M, INTERBANK, CUST",
"fee_product_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"funds_ownership": "BANK",
"general_ledger_category": "CORE",
"general_ledger_type": "ACH_SETTLEMENT",
"grace_period": 2,
"iban": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"in_closing_date": "2023-12-25",
"interest_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_account_pool": true,
"is_ach_credit_enabled": true,
"is_ach_debit_enabled": true,
"is_ach_enabled": true,
"is_card_credit_enabled": true,
"is_card_debit_enabled": true,
"is_card_enabled": true,
"is_cash_credit_enabled": true,
"is_cash_debit_enabled": true,
"is_cash_enabled": true,
"is_check_credit_enabled": true,
"is_check_debit_enabled": true,
"is_check_enabled": true,
"is_custodial": true,
"is_eft_ca_credit_enabled": true,
"is_eft_ca_debit_enabled": true,
"is_eft_ca_enabled": true,
"is_escrow": true,
"is_external_card_credit_enabled": true,
"is_external_card_debit_enabled": true,
"is_external_card_enabled": true,
"is_fednow_credit_enabled": true,
"is_fednow_debit_enabled": true,
"is_fednow_enabled": true,
"is_p2p_enabled": true,
"is_sar_enabled": true,
"is_security": true,
"is_synctera_pay_credit_enabled": true,
"is_synctera_pay_debit_enabled": true,
"is_synctera_pay_enabled": true,
"is_system_auto_pay_enabled": true,
"is_trust": true,
"is_wire_credit_enabled": true,
"is_wire_debit_enabled": true,
"is_wire_enabled": true,
"last_updated_time": "2023-11-07T05:31:56Z",
"metadata": {},
"minimum_payment": {
"min_amount": 123,
"rate": 123,
"type": "FULL"
},
"nickname": "<string>",
"open_date": "2023-12-25",
"overdraft_limit": 1,
"restrictions": {
"is_account_out_of_area": true,
"is_delinquent": true,
"is_past_due": true,
"is_past_due_debit_restricted": true,
"is_revoked": true
},
"reward_product_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"security": {
"linked_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"skip_sweeps": true,
"spend_control_ids": [
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
],
"spending_limits": {
"day": {
"amount": 1,
"transactions": 1
},
"description": "<string>",
"lifetime": {
"amount": 1,
"transactions": 1
},
"month": {
"amount": 1,
"transactions": 1
},
"transaction": {
"amount": 1
},
"week": {
"amount": 1,
"transactions": 1
}
},
"status": "ACCOUNT_NEVER_ACTIVE",
"stop_payments": [
{
"originator_name": "<string>",
"stop_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dispute_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expires_on": "2023-11-07T05:31:56Z",
"transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"swift_code": "<string>",
"tenant": "abcdef_ghijkl",
"vendor_info": {
"vendor_data": {
"loanpro": {
"cash_advance_bucket_id": 67890,
"loc_id": 12345,
"loc_product_id": 67890,
"purchases_bucket_id": 12345,
"tenant_id": "1",
"daily_archive": {
"archive_date": "2024-01-15",
"bucket_interest_rates": [
{
"bucket_display_name": "Purchases",
"bucket_label": "purchase",
"rate_bps": 1800
}
]
}
}
},
"vendor_type": "LOANPRO"
}
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}Get account
Get an account by account_id.
Note: GENERAL_LEDGER accounts are in Alpha status, and cannot yet be created. We may make breaking changes.
curl --request GET \
--url https://api-sandbox.synctera.com/v0/accounts/{account_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-sandbox.synctera.com/v0/accounts/{account_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-sandbox.synctera.com/v0/accounts/{account_id}', 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://api-sandbox.synctera.com/v0/accounts/{account_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api-sandbox.synctera.com/v0/accounts/{account_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-sandbox.synctera.com/v0/accounts/{account_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.synctera.com/v0/accounts/{account_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"access_status": "ACTIVE",
"access_status_last_updated_time": "2023-11-07T05:31:56Z",
"account_closure": {
"destination_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_method": "ACH",
"reason": "BANK_REQUEST_REGULATORY_REASONS",
"reason_details": "<string>",
"cases": [
{
"case_id": "<string>",
"case_reason": "<string>"
}
],
"validation_responses": [
{
"details": {},
"message": "Cards decoupled from account",
"name": "cards",
"validated": true
}
]
},
"account_number": "<string>",
"account_number_masked": "123*****6789",
"account_program_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_purpose": "This account for the account holder's salary deposit.",
"account_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_title": "<string>",
"account_type": "CHARGE_SECURED",
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_payment_period": 20,
"balance_ceiling": {
"balance": 1,
"linked_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"overflow_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"balance_floor": {
"balance": 123,
"linked_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"overdraft_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"balances": [
{
"balance": 2399,
"type": "ACCOUNT_BALANCE"
}
],
"bank_account_id": "<string>",
"bank_routing": "<string>",
"billing_period": {
"frequency": "ANNUALLY",
"start_date": "2022-01-01T00:00:00Z"
},
"business_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"close_date": "2023-12-25",
"creation_time": "2023-11-07T05:31:56Z",
"credit_limit": 2500,
"currency": "USD",
"customer_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"customer_type": "BUSINESS",
"days_past_due": 123,
"exchange_rate_type": "M, INTERBANK, CUST",
"fee_product_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"funds_ownership": "BANK",
"general_ledger_category": "CORE",
"general_ledger_type": "ACH_SETTLEMENT",
"grace_period": 2,
"iban": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"in_closing_date": "2023-12-25",
"interest_product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_account_pool": true,
"is_ach_credit_enabled": true,
"is_ach_debit_enabled": true,
"is_ach_enabled": true,
"is_card_credit_enabled": true,
"is_card_debit_enabled": true,
"is_card_enabled": true,
"is_cash_credit_enabled": true,
"is_cash_debit_enabled": true,
"is_cash_enabled": true,
"is_check_credit_enabled": true,
"is_check_debit_enabled": true,
"is_check_enabled": true,
"is_custodial": true,
"is_eft_ca_credit_enabled": true,
"is_eft_ca_debit_enabled": true,
"is_eft_ca_enabled": true,
"is_escrow": true,
"is_external_card_credit_enabled": true,
"is_external_card_debit_enabled": true,
"is_external_card_enabled": true,
"is_fednow_credit_enabled": true,
"is_fednow_debit_enabled": true,
"is_fednow_enabled": true,
"is_p2p_enabled": true,
"is_sar_enabled": true,
"is_security": true,
"is_synctera_pay_credit_enabled": true,
"is_synctera_pay_debit_enabled": true,
"is_synctera_pay_enabled": true,
"is_system_auto_pay_enabled": true,
"is_trust": true,
"is_wire_credit_enabled": true,
"is_wire_debit_enabled": true,
"is_wire_enabled": true,
"last_updated_time": "2023-11-07T05:31:56Z",
"metadata": {},
"minimum_payment": {
"min_amount": 123,
"rate": 123,
"type": "FULL"
},
"nickname": "<string>",
"open_date": "2023-12-25",
"overdraft_limit": 1,
"restrictions": {
"is_account_out_of_area": true,
"is_delinquent": true,
"is_past_due": true,
"is_past_due_debit_restricted": true,
"is_revoked": true
},
"reward_product_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"security": {
"linked_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"skip_sweeps": true,
"spend_control_ids": [
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
],
"spending_limits": {
"day": {
"amount": 1,
"transactions": 1
},
"description": "<string>",
"lifetime": {
"amount": 1,
"transactions": 1
},
"month": {
"amount": 1,
"transactions": 1
},
"transaction": {
"amount": 1
},
"week": {
"amount": 1,
"transactions": 1
}
},
"status": "ACCOUNT_NEVER_ACTIVE",
"stop_payments": [
{
"originator_name": "<string>",
"stop_payment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dispute_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expires_on": "2023-11-07T05:31:56Z",
"transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"swift_code": "<string>",
"tenant": "abcdef_ghijkl",
"vendor_info": {
"vendor_data": {
"loanpro": {
"cash_advance_bucket_id": 67890,
"loc_id": 12345,
"loc_product_id": 67890,
"purchases_bucket_id": 12345,
"tenant_id": "1",
"daily_archive": {
"archive_date": "2024-01-15",
"bucket_interest_rates": [
{
"bucket_display_name": "Purchases",
"bucket_label": "purchase",
"rate_bps": 1800
}
]
}
}
},
"vendor_type": "LOANPRO"
}
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}{
"code": "BAD_REQUEST_BODY",
"detail": "missing required fields: first_name, dob",
"status": 400,
"title": "Bad Request Body",
"type": "https://dev.synctera.com/errors/bad-request-body"
}Authorizations
Path Parameters
Response
Account
The response will contain the first 3 digits (the first 6 digits for a 15 digit account number) plus the last 4 digits, with the digits in between replaced with * characters. At least 4 characters are always masked, so a shorter account number shows fewer leading digits first and then fewer trailing digits; an account number of 4 or fewer characters is fully masked. Shadow mode account numbers will not be masked.
50"123*****6789"
The type of the account. In lead mode, this always takes the value of the template. If not specified in shadow mode, CHECKING will be assumed. Below mentioned are the account types:
- SAVING: Savings account
- CHECKING: Checking account
- PREPAID: Prepaid account
- LINE_OF_CREDIT: Line of Credit account
- CREDIT_CARD: Credit Card account
- CHARGE_SECURED: Secured Charge account, e.g. for use in a Smart Charge Card offering
- CHARGE_UNSECURED: (alpha) Unsecured Charge account
- REVOLVING_CREDIT_SECURED: Secured Revolving Credit account
- REVOLVING_CREDIT_UNSECURED: Unsecured Revolving Credit account
- GENERAL_LEDGER: General Ledger account (alpha - cannot yet be created). In production, these can only be created or updated by a Synctera administrator.
CHARGE_SECURED, CHARGE_UNSECURED, CHECKING, CREDIT_CARD, GENERAL_LEDGER, LINE_OF_CREDIT, PREPAID, REVOLVING_CREDIT_SECURED, REVOLVING_CREDIT_UNSECURED, SAVING The number of days past the billing period to initiate an auto payment. Only applicable for accounts with type CHARGE_SECURED, where the account holder has opted in for auto payment functionality. This value must be lower than or equal to the grace_period setting on the account. If this value is 0, the auto payment will happen on the same day as the statement is generated. Auto payment only occurs if regular payments are not received on time.
0 <= x <= 2820
An account's funds ownership indicates which organization owns the funds in the account. For example, some GENERAL_LEDGER accounts have funds owned by the bank, even though the account is in the fintech tenant. Fintechs are not able to perform money movement on accounts where the bank or platform owns the funds. This read-only property is determined by the account_type and general_ledger_type.
BANK, FINTECH, PLATFORM The type of general ledger account. This is required when creating a general ledger account.
ACH_SETTLEMENT, ACH_SUSPENSE, ALLOCATED_SUSPENSE, BANK_DRAFT, BILLING_EXPENSE, BILLING_REVENUE, CARD_AFT_PREFUNDING, CARD_OCT_SETTLEMENT, CARD_SETTLEMENT, CASH_SETTLEMENT, CASH_SUSPENSE, CHECK_SETTLEMENT, DISPUTE_WRITE_OFF_PNL, EFT_CA_SETTLEMENT, EFT_CA_SUSPENSE, EXTERNAL_CARD_AFT_SETTLEMENT, EXTERNAL_CARD_OCT_SETTLEMENT, FEDNOW_SETTLEMENT, FEES, FRAUD_LOSSES, FUNDING_ACCOUNTS, GENERAL_PNL, INTEREST_PAYOUT, INTERNATIONAL_WIRE_SETTLEMENT, IN_STORE_CASH_SETTLEMENT, LOC_INTEREST_INCOME, LOC_INVESTOR_PORTFOLIO, LOC_REPURCHASE, MONEY_IN_AND_OUT, NEGATIVE_BALANCE, NETWORK_ADJUSTMENT, NETWORK_CHARGEBACK, NEW_FUNDING_ACCOUNT, PROVISIONAL_CREDIT_PNL, RESERVE, REWARDS, SC_INVESTOR_PORTFOLIO, SC_REPURCHASE, SYNCTERA_PAY_SUSPENSE, USC_INTEREST_INCOME, USC_INVESTOR_PORTFOLIO, USC_REPURCHASE, WIRE_SETTLEMENT, WIRE_SUSPENSE, WRITE_OFF The status of the account.
| Status | Description | Transactable |
|---|---|---|
| ACCOUNT_NEVER_ACTIVE | Account was never activated by the customer | N |
| ACCOUNT_NOT_DESIRED | A credit account was created for a customer, but the customer did not accept the account | N |
| ACTIVATED_NOT_DISBURSED | A credit account was created for the customer, but the funds have not been paid out or used | N |
| ACTIVE_OR_DISBURSED | The account is active and transactable | Y |
| APPLICATION_SUBMITTED | Deprecated status | N |
| AWAITING_FIXING | Account is awaiting fixing | N |
| CHARGED_OFF | The account has been charged off and is closed | N |
| CLOSED | Accounts must be zeroed out before being closed. Closed accounts cannot transact | N |
| DELINQUENT | Synctera will update a credit account to delinquent if the customer has not paid within their expected billing cycle | N |
| FAILED_KYC | We were unable to verify the identity of the account holder: they have not passed know-your-customer (KYC) checks | N |
| IN_CLOSING | The account is in the process of being closed. An account with the IN_CLOSING status may only be updated to CLOSED. Updates to other statuses are prohibited. | N |
| RESTRICTED | Synctera will update accounts to restricted of the account holder has not successfully passed KYC | N |
| SUSPENDED | Account has been suspected of fraudulent activity and is blocked from further transactions | N |
ACCOUNT_NEVER_ACTIVE, ACCOUNT_NOT_DESIRED, ACTIVATED_NOT_DISBURSED, ACTIVE_OR_DISBURSED, APPLICATION_SUBMITTED, AWAITING_FIXING, CHARGED_OFF, CLOSED, DELINQUENT, FAILED_KYC, IN_CLOSING, RESTRICTED, SUSPENDED Was this page helpful?

