LogoLogo
StatusChangelogDashboardCreate a Ticket
  • Getting Started
  • Intro to APIs
  • How to Contact us
  • How to Go-Live
  • Intro to Risk
  • Intro to Spec Sheets
  • Product Guides
    • Deposit Hub
      • 🌎Global Cash
    • Credit Hub
    • Payment Accounts
    • ID Score
  • API References
    • OAuth
      • OAuth Object Details
      • Create OAuth Key
      • Generate Refresh Token
    • Users
      • User Object Details
      • Testing on UAT
      • View All Users
      • View User
      • Create User
      • Update User
      • Generate UBO Doc
      • Manage Duplicates
      • Allowed Document Types
      • Allowed Entity Scopes
      • Allowed Entity Types
    • Nodes
      • Node Object Details
      • Testing on UAT
      • View all User Nodes
      • View Node
      • Create Node
      • Update Node
      • Generate eCash Barcode
      • Allowed Node Types
      • View ATMs
    • Subnets
      • Subnet Object Details
      • Testing on UAT
      • View all Node Subnets
      • View Subnet
      • Create Subnet
      • Update Subnet
      • Push to Wallet
    • Shipments
      • Shipment Object Details
      • View all Subnet Shipments
      • View Shipment
      • Create Shipment
      • Cancel Shipment
    • Statements
      • Statement Object Details
      • View all User Statements
      • View all Node Statements
    • Transactions
      • Transaction Object Details
      • Testing on UAT
      • View all User Transactions
      • View all Node Transactions
      • View Transaction
      • Create Transaction
      • Create Batch Transactions
      • Cancel Transaction
      • Retry ACH Transaction
      • Dispute Chargebacks
      • Dispute Transaction
    • Subscriptions
      • Subscription Object Details
      • Webhook Object Details
      • Testing on UAT
      • View all Subscriptions
      • View Subscription
      • Create Subscription
      • Update Subscription
      • View Webhook Logs
    • Miscellaneous
      • Dummy Transactions
      • Verify Address
      • Verify Routing Number
      • International WIRE-INT Required Data by Country
      • View Billers
      • View Enriched Data
      • Loan Limits
      • Transaction Decisioning
      • 3D Secure
      • Virtual Terminal
      • Pre-Authorization
      • Card Disputes Guide
      • Mobile Wallets
      • Interchange Revenue
      • Enrichment Guide
  • Developer Guides
    • User Onboarding
      • Create User Flow
      • Authenticate as the User
      • Create Node Flow
        • Cash Advance
        • Credit Builder Loan
        • One Time Loans
        • Secured Open Loans
        • Secured Revolving Loans
        • Unsecured Revolving Loans
      • Create Subnets Flow
        • Creating Cards
        • Creating AC/RT
      • Linking External Accounts
        • Linking Cards
        • Linking External Bank Account
      • Add Additional Documents
    • Account Details
      • Displaying Balances
      • Transaction History
      • Transaction Details
      • Account Agreements
      • Node Statements
      • Card Details
    • Managing Cards
      • Card Preferences
      • Setting PIN
      • Mobile Wallet Flow
        • Integrate with Apple Pay
        • Integrate with Google Pay
        • Integrate with Samsung Pay
      • Shipping Cards
    • Originating Transactions
      • Sending Fed Wires
      • Sending ACH Transfers
      • Sending International Wires
      • Deposit a Check
      • Issuing Checks
      • Recurring Transactions
      • 3rd Party Payment Accounts
      • Cancelling Transactions
      • Exceeding Origination Limits
    • Receiving Transactions
      • Transaction Decisioning
      • Receiving ACH / Wires
      • Card Transactions
      • Exceeding Inbound Limits
    • Managing Disputes
      • ACH Disputes
      • Card Disputes
    • 3rd Party Integrations
      • Payment Integrations
      • Account Aggregators
      • 3rd Parties & Compliance
  • Recipes
    • Overdraft Protection
    • Social Banking
    • Monetizing Transactions
Powered by GitBook
On this page
  • Verify Address
  • Example Request
  • Deliverability
  • Deliverability Analysis Object

Was this helpful?

Export as PDF
  1. API References
  2. Miscellaneous

Verify Address

Verify Address

POST https://api.synapsefi.com/v3.1/address-verification

This endpoint allows you to verify an address.

Headers

Name
Type
Description

Content-Type

string

This value should be application/jsonon

Request Body

Name
Type
Description

address_street

string

Street address associated with the document owner. This can be the home address of a person or business address of a corp. Please include apartment suite or unit numbers.

address_city

string

City associated with the document owner. This can be the home address of a person or business address of a corp.

address_subdivision

string

State abbreviation associated with the document owner. This value needs to be in ISO Alpha-2 (e.g. CA)

address_postal_code

string

Country associated with the document owner. This can be the home address of a person or business address of a corp. This value needs to be in ISO Alpha-2 (e.g. US)

address_country_code

string

Postal code associated with the document owner. This can be the home address of a person or business address of a corp.

{
    "deliverability": "usps_deliverable",
    "deliverability_analysis": {
        "partial_valid": false,
        "primary_number_invalid": false,
        "primary_number_missing": false,
        "secondary_invalid": false,
        "secondary_missing": false
    },
    "normalized_address": {
        "address_city": "SAN FRANCISCO",
        "address_country_code": "US",
        "address_postal_code": "94105",
        "address_street": "1 MARKET ST STE 500",
        "address_subdivision": "CA"
    }
}
{
    "deliverability": "deliverable_missing_unit",
    "deliverability_analysis": {
        "partial_valid": true,
        "primary_number_invalid": false,
        "primary_number_missing": false,
        "secondary_invalid": false,
        "secondary_missing": true
    },
    "normalized_address": {
        "address_city": "SAN FRANCISCO",
        "address_country_code": "US",
        "address_postal_code": "94105",
        "address_street": "1 MARKET ST",
        "address_subdivision": "CA"
    }
}

Example Request

POST /v3.1/address-verification HTTP/1.1
Host: uat-api.synapsefi.com
Content-Type: application/json

{
    "address_street": "1 Market St. STE 500",
    "address_city": "San Francisco",
    "address_subdivision": "CA",
    "address_postal_code": "94105",
    "address_country_code": "US"
}
conn = http.client.HTTPConnection("uat-api,synapsefi,com")

payload = "{

"address_street\": \"1 Market St. STE 500\",\n    \"address_city\": \"San Francisco\",\n    \"address_subdivision\": \"CA\",\n    \"address_postal_code\": \"94105\",\n    \"address_country_code\": \"US\"\n}"

headers = {
    'Content-Type': "application/json",
    'cache-control': "no-cache",
    'Postman-Token': "9f4649ad-9869-401d-b04b-96e145cde414"
    }

conn.request("POST", "v3.1,address-verification", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://uat-api.synapsefi.com/v3.1/address-verification",
  "method": "POST",
  "headers": {
    "Content-Type": "application/json"
  },
  "processData": false,
  "data": "{\n    \"address_street\": \"1 Market St. STE 500\",\n    \"address_city\": \"San Francisco\",\n    \"address_subdivision\": \"CA\",\n    \"address_postal_code\": \"94105\",\n    \"address_country_code\": \"US\"\n}"
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
require 'uri'
require 'net/http'

url = URI("https://uat-api.synapsefi.com/v3.1/address-verification")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n    \"address_street\": \"1 Market St. STE 500\",\n    \"address_city\": \"San Francisco\",\n    \"address_subdivision\": \"CA\",\n    \"address_postal_code\": \"94105\",\n    \"address_country_code\": \"US\"\n}"

response = http.request(request)
puts response.read_body
<?php

$request = new HttpRequest();
$request->setUrl('https://uat-api.synapsefi.com/v3.1/address-verification');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders(array(
  'Content-Type' => 'application/json'
));

$request->setBody('{
    "address_street": "1 Market St. STE 500",
    "address_city": "San Francisco",
    "address_subdivision": "CA",
    "address_postal_code": "94105",
    "address_country_code": "US"
}');

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://uat-api.synapsefi.com/v3.1/address-verification"

	payload := strings.NewReader("{\n    \"address_street\": \"1 Market St. STE 500\",\n    \"address_city\": \"San Francisco\",\n    \"address_subdivision\": \"CA\",\n    \"address_postal_code\": \"94105\",\n    \"address_country_code\": \"US\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}

Deliverability

Deliverability Result

Description

deliverable

✅

Check normalized_address object in response for deliverable address to use (e.g. in case "ST" supplied when deliverable address has "AVE")

usps_deliverable

✅

Standard supplied address is a USPS deliverable address

deliverable_incorrect_unit

✅

Base address is deliverable but supplied unit appears incorrect (e.g. actual unit number may be "APT 103" and original input may point to a non-existent unit like "APT 1003")

deliverable_missing_unit

✅

Base address is deliverable but expected unit was not supplied. Check normalized_address object in response for deliverable address to use

deliverable_unneccessary_unit

✅

Address is deliverable but additional unit supplied when not necessary

Deliverability Analysis Object

Key

Type

Description

deliverability_analysis. partial_valid

Boolean

True if address is partially valid

deliverability_analysis. primary_number_invalid

Boolean

True if primary address number is invalid

deliverability_analysis. primary_number_missing

Boolean

True if primary address number is missing

deliverability_analysis. secondary_invalid

Boolean

True if secondary address line (e.g. unit) is invalid or unnecessary

deliverability_analysis. secondary_missing

Boolean

Secondary address line (e.g. unit) missing

PreviousDummy TransactionsNextVerify Routing Number

Last updated 2 years ago

Was this helpful?