Overview

This documentation provides a comprehensive guide to the various objects used in our API. Each object is detailed with its attributes, types, requirements, and examples to help developers understand and implement them effectively. Below is the Table of Contents for quick navigation:

  1. ACH Object: Detailed information about the ACH (Automated Clearing House) object, including attributes and usage.
  2. Address Object: Specifications for the address object, used to capture address details.
  3. Counterparty Address Object: Information on the address of the business or individual who owns the external account.
  4. Counterparty Bank Address Object: Details about the address of the counterparty's bank.
  5. Details Object: Attributes and examples for the object containing customer identifying information.
  6. Instant Payment Object: Information on instant payment details, including transmitter information.
  7. Intermediary Bank Address Object: Specifications for the address of the intermediary bank involved in wire transfers.
  8. Shipping Address Object: Details for specifying the shipping address for physical debit cards.
  9. Wire Object: Comprehensive guide to wire-specific information, including intermediary bank and transmitter details.
  10. Wire Transmitter Object: Attributes and examples for the address of the wire transmitter.
  11. Option 1: Specifications for the first optional address format.
  12. Option 2: Specifications for the second optional address format.

Each section provides detailed descriptions, validation rules, and example values to ensure accurate implementation and usage. This guide aims to facilitate a smooth integration process and enhance the overall developer experience.

ACH Object

Description:
The ACH object specifies details for ACH transactions and returns.

AttributeTypeRequiredDescriptionExample
originator_namestringrequiredIndividual or business originating the ACH transfer. 1 to 16 characters; letters, numbers, apostrophe, comma, period, dash allowed."J. Fred Muggs"
company_idstringrequiredACH Company ID. 1 to 10 characters. Letters, numbers, apostrophe, comma, period, dash allowed."ABC-123456"
company_discretionary_datastringoptionalAn optional field to add customized information such as a customer code or internal reference number. 1 to 20 characters. Alphanumeric. Also allows '.', '#', or '-'."#ABC.123"
prenotebooleanoptionalIf prenote is 'true' the amount of the transfer must be $0.00. Newline will infer credit_prenote or debit_prenote based on the source and destination accounts. If prenote is 'true' then the Transaction Type of the resulting transaction record is of type: "prenote". If no value is provided, the default value will be 'false'.true
sec_codestringrequiredStandard Entry Class (SEC) code. Newline supports the following SEC codes: CCD, CIE, PPD, TEL, WEB. For more details, refer to our ACH guide's section on SEC code use."CIE"
entry_descriptionstringrequiredDescription value that will appear in the bank statement."B1-A2-C3"
service_processingstringrequiredRequested service processing duration for the ACH transfer. Allowable values are: STANDARD or SAMEDAY"STANDARD"
effective_entry_datestringrequiredThe effective date when the transaction is scheduled to be processed. Date values provided cannot be in the past or provided in the future beyond 30 days. For received returns, if the date provided by the originating financial institution does not match the Newline format, then the raw value will be returned. The Newline date format is YYYY-MM-DD"2023-12-01"
id_numberstringoptionalUnique identifier supplied by the originator of a transaction (e.g. invoice number). 1 to 22 characters depending on SEC code, alphanumeric. If the SEC value is anything other than CIE, then this is an optional field and can be up to 15 characters. If SEC value CIE is provided, then the ID number is mandatory, and the character length can be up to 22 characters."4270465600"
addendastringoptionalOptional additional payment-related information, such as invoice numbers, originator/receiver information, payment instructions, etc. Up to 80 characters. Optional for all Newline supported SEC codes other than TEL. Newline will reject the Transfer if an Addenda value is provided with SEC code TEL.

Relevant Endpoints:

Address Object

Description:
The address object specifies address details for various entities.

AttributeTypeRequiredDescriptionExample
street1string | nullrequiredMaximum 35 characters"123 Abc St."
street2string | nullMaximum 35 characters"Suite 4A"
citystring | nullrequiredMaximum 35 characters"Chicago"
statestring | nullrequired2 characters. Must be a valid US state abbreviation."IL"
postal_codestring | nullrequired5-digit string. ZIP+4 is allowed."60301"

Relevant Endpoints:

Counterparty Address Object

Description:
The counterparty address object specifies address details for counterparties in transactions.

AttributeTypeRequiredDescriptionExample
street_numbernumberrequiredBuilding number for counterparty address. Numbers only.1234
street1stringrequiredStreet name for counterparty address. Length ≤ 70."Abc St."
street2stringoptionalOptional second line of street. Length ≤ 70."Suite 4A"
citystring | nullrequiredMaximum 35 characters"Chicago"
statestring | nullrequired2 characters. Must be a valid US state abbreviation."IL"
postal_codestring | nullrequired5-digit string. ZIP+4 is allowed."60301"
countrystring | nullrequired2 character ISO 3166 country code."US"

Relevant Endpoints:

Counterparty Bank Address Object

Description:
The counterparty bank address object specifies address details for the bank associated with a counterparty.

AttributeTypeRequiredDescriptionExample
line1string | nulloptionalOptional 35 characters. Cannot contain # @ $ ! ” % & * ; < > { } [ ] _ ^ \ ~"123 Abc St."
line2string | nulloptionalOptional 35 characters. Cannot contain # @ $ ! ” % & * ; < > { } [ ] _ ^ \ ~"Boring, Oregon 97009"
line3string | nulloptionalOptional 32 characters. Note that this length is shorter than the other lines. Cannot contain # @ $ ! ” % & * ; < > { } [ ] _ ^ \ ~"Boston, MA 02110"
countrystring | nullrequired2 character ISO 3166 country code."US"

Relevant Endpoints:

Details Object

Description:
The details object specifies personal details for customers.

AttributeTypeRequiredDescriptionExample
first_namestring | null1-40 characters"Olive"
middle_namestring | null1-40 characters"Olivia"
last_namestring | null1-40 characters"Oyl"
suffixstring | null1-30 characters"Jr."
phonestring | nullExactly 10 digits long (no hyphens, parentheses, or spaces)"5555551212"
business_namestring | nullRequired for customers of type sole_proprietor and discarded otherwise. 1-256 alphanumeric characters."Oliver's Olive Emporium"
ssnstring | nullFollows pattern 'ddd-dd-dddd'. Required for primary or sole_proprietor customers."111-22-3333"
dobdate | nullFollows pattern 'YYYY-MM-DD'"1919-12-08"
addressobjectAn object containing the supplied identifying information for the Customer
street1string | nullrequiredMaximum 35 characters"123 Abc St."
street2string | nullrequiredMaximum 35 characters"Suite 4A"
citystring | nullrequiredMaximum 35 characters"Chicago"
statestring | nullrequired2 characters. Must be a valid US state abbreviation."IL"
postal_codestring | nullrequired5-digit string. ZIP+4 is allowed."60301"

Relevant Endpoints:

Instant Payment Object

Description:
The instant payment object specifies details for initiating an instant payment.

AttributeTypeRequiredDescriptionExample
instant_paymentobjectInstant payment information. Only present if the Transfer is an instant payment.
instant_payment_transmitterobjectAddress of the Transmitter. To be populated if the initiator_type is Transmitter.
namestringrequiredName of the Transmitter. Length ≤ 35."Marge's Roofing Inc"
transmitter_identifierstringrequiredUp to 24 characters, and supplied by Transmitter. Alphanumeric only. Length between 1 and 24."123456789012ABC"
street_numbernumberrequiredBuilding number for Transmitter address. Numbers only.1234
street1stringrequiredStreet name for Transmitter address. Length ≤ 70."Abc St."
street2stringoptionalOptional second line of street. Length ≤ 70."Suite 4A"
citystring | nullrequiredMaximum 35 characters"Chicago"
statestring | nullrequired2 characters. Must be a valid US state abbreviation."IL"
postal_codestring | nullrequired5-digit string. ZIP+4 is allowed."60301"
countrystring | nullrequired2 character ISO 3166 country code."US"

Relevant Endpoints:

Intermediary Bank Address Object

Description:
The intermediary bank address object specifies address details for intermediary banks in wire transactions.

AttributeTypeRequiredDescriptionExample
instant_paymentobjectInstant payment information. Only present if the Transfer is an instant payment.
instant_payment_transmitterobjectAddress of the Transmitter. To be populated if the initiator_type is Transmitter.
namestringrequiredName of the Transmitter. Length ≤ 35."Marge's Roofing Inc"
transmitter_identifierstringrequiredUp to 24 characters, and supplied by Transmitter. Alphanumeric only. Length between 1 and 24."123456789012ABC"
street_numbernumberrequiredBuilding number for Transmitter address. Numbers only.1234
street1stringrequiredStreet name for Transmitter address. Length ≤ 70."Abc St."
street2stringoptionalOptional second line of street. Length ≤ 70."Suite 4A"
citystring | nullrequiredMaximum 35 characters"Chicago"
statestring | nullrequired2 characters. Must be a valid US state abbreviation."IL"
postal_codestring | nullrequired5-digit string. ZIP+4 is allowed."60301"
countrystring | nullrequired2 character ISO 3166 country code."US"

Relevant Endpoints:

Shipping Address Object

Description:
The shipping address object specifies the address for shipping a physical debit card.

AttributeTypeRequiredDescriptionExample
street1stringrequired4-40 characters. Cannot be a P.O. Box."123 Abc St."
street2string | nulloptionalMaximum 30 characters"Apt 2"
citystringrequiredMaximum 30 characters"Chicago"
statestringrequired2 characters. Must be a valid US state abbreviation."IL"
postal_codestringrequired5-digit string. ZIP+4 allowed."12345"

Relevant Endpoints:

Wire Object

Description:
The wire object specifies details for wire transactions and returns.

AttributeTypeRequiredDescriptionExample
intermediary_bank_addressobjectAddress of the intermediary bank. To be populated if an intermediary bank is required to execute the wire transfer.
line1string | nulloptionalOptional 35 characters. Cannot contain # @ $ ! ” % & * ; < > { } [ ] _ ^ \ ~"123 Abc St."
line2string | nulloptionalOptional 35 characters. Cannot contain # @ $ ! ” % & ; < > { } [ ] ^ \ ~"Boring, Oregon 97009"
line3string | nulloptionalOptional 32 characters. Note that this length is shorter than the other lines. Cannot contain # @ $ ! ” % & ; < > { } [ ] ^ \ ~"CA 94016"
countrystring | nullrequired2 character ISO 3166 country code."US"
intermediary_bank_namestringLength ≤ 35"Fidelity Fiduciary Bank"
intermediary_bank_routing_numberstringLength between 9 and 9. The ABA routing number associated with the intermediary bank involved in the wire transfer. This value is required if intermediary_bank_name or intermediary_bank_address is present; optional otherwise"923456789"
wire_instructionsstringLength ≤ 140. Additional details or instructions for the wire, issued to the recipient financial institution when the wire is executed."Send ASAP"
wire_transmitterobjectAddress of the Transmitter. To be populated if the initiator_type is Transmitter.
namestringrequiredLength ≤ 35. Name of the Transmitter."Marge's Roofing Inc"
transmitter_identifierstringrequiredLength between 1 and 24. Up to 24 characters, and supplied by Transmitter. Alphanumeric only."123456789012ABC"
line1string | nullrequiredUp to 35 characters. Cannot contain # @ $ ! ” % & * ; < > { } [ ] _ ^ \ ~"123 Abc St."
line2string | nulloptionalOptional 35 characters. Cannot contain # @ $ ! ” % & ; < > { } [ ] ^ \ ~"Boring, Oregon 97009"
line3string | nulloptionalOptional 32 characters. Note that this length is shorter than the other lines. Cannot contain # @ $ ! ” % & ; < > { } [ ] ^ \ ~"CA 94016"
countrystringrequiredLength between 2 and 2. 2 character ISO 3166 country code."US"

Relevant Endpoints:

Wire Transmitter Object

Description:
The wire transmitter object specifies the address details for the transmitter. This information is required if the initiator_type is Transmitter.

AttributeTypeRequiredDescriptionExample
namestringrequiredLength ≤ 35. Name of the Transmitter."Marge's Roofing Inc"
transmitter_identifierstringrequiredLength between 1 and 24. Up to 24 characters, and supplied by Transmitter. Alphanumeric only."123456789012ABC"
line1string | nullrequiredUp to 35 characters. Cannot contain # @ $ ! ” % & * ; < > { } [ ] _ ^ \ ~"123 Abc St."
line2string | nulloptionalOptional 35 characters. Cannot contain # @ $ ! ” % & ; < > { } [ ] ^ \ ~"Boring, Oregon 97009"
line3string | nulloptionalOptional 32 characters. Note that this length is shorter than the other lines. Cannot contain # @ $ ! ” % & ; < > { } [ ] ^ \ ~"CA 94016"
countrystringrequiredLength between 2 and 2. 2 character ISO 3166 country code."US"

Relevant Endpoints:

Option 1

Description:
Option 1 encapsulates address details for a transaction simulation.

AttributeTypeRequiredDescriptionExample
line1string | nulloptionalOptional 35 characters. Cannot contain # @ $ ! ” % & ; < > { } [ ] ^ \ ~"123 Abc St."
line2string | nulloptionalOptional 35 characters. Cannot contain # @ $ ! ” % & ; < > { } [ ] ^ \ ~"Boring, Oregon 97009"
line3string | nulloptionalOptional 32 characters. Note that this length is shorter than the other lines. Cannot contain # @ $ ! ” % & * ; < > { } [ ] _ ^ \ ~
countrystring | nullrequired2 character ISO 3166 country code."US"

Relevant Endpoints:

Option 2

Description:
Option 2 encapsulates detailed address and counterparty information for a transaction simulation.

AttributeTypeRequiredDescriptionExample
street_numbernumberrequiredBuilding number for counterparty address. Numbers only.1234
street1stringrequiredLength ≤ 70. Street name for counterparty address."Abc St."
street2stringoptionalLength ≤ 70. Optional second line of street."Suite 4A"
citystring | nullrequiredMaximum 35 characters"Chicago"
statestring | nullrequired2 characters. Must be a valid US state abbreviation."IL"
postal_codestring | nullrequired5-digit string. ZIP+4 is allowed."60301"
countrystring | nullrequired2 character ISO 3166 country code."US"