GET
/applications/{opportunityId}/accountGet Account
Retrieve the merchant account (Account object) associated with a specific application.
Returns the Account record including merchant identity, legal/DBA addresses, contact information, business profile, and processing history.
Backend path: /services/data/v54.0/sobjects/Opportunity/{opportunityId}/Account.
Path Parameters
Required1 field
opportunityIdstringThe Salesforce ID (SFId) of the Opportunity record
Other1 field
stringResponses
200
Account details
Account details
Common23 fields
attributesobjectNamestringMerchant DBA Name (required). If field exceeds maximum length, value will be truncated.
maxLength=255
Legal_Name__cstringLegal name (required). If field exceeds maximum length, value will be truncated.
maxLength=100
Tax_ID__cstringFederal Tax ID - must be 9 digits (required). Validation error "Federal Tax ID Enter valid Federal Tax ID" if not 9 digits.
pattern=^\d{9}$ · maxLength=16
State_of_Entity_Formation_Incorporation__cstringState of formation/incorporation (required)
maxLength=2
MCC_API_Field__cstringMCC (Merchant Category Code) - required. Validation error if invalid MCC entered.
maxLength=100
BillingStreetstringLegal street address (required). If field exceeds maximum length, value will be truncated.
maxLength=255
BillingCitystringLegal city (required). If field exceeds maximum length, value will be truncated.
maxLength=40
BillingStateCodestringLegal state/province code (required). See PDF pages 36-38 for full list of valid state codes.
maxLength=80
BillingPostalCodestringLegal zip code - must be 5 digits (required). Validation error "Legal Address Zipcode Enter Valid Legal Address Zipcode" if not 5 digits.
pattern=^\d{5}$ · maxLength=20
BillingCountryCodestringLegal country code (required). See PDF pages 36-38 for full list of valid country codes.
maxLength=80
ShippingStreetstringDBA street address (required). If field exceeds maximum length, value will be truncated.
maxLength=255
ShippingCitystringDBA city. If field exceeds maximum length, value will be truncated.
maxLength=40
PhonestringPhone number - must be 10 digits or (999) 999-9999 format (required). Validation error "Phone/Fax number must be a 10-digit number or in (999) 999-9999 format" if invalid.
pattern=^(\d{10}|\(\d{3}\)\s\d{3}-\d{4})$
App_Email__cstringEmail address (required). Validation error "Enter valid Email Address" if invalid format.
format=email · maxLength=100
Customer_Service_Phone__cstringCustomer service phone - must be 10 digits or (999) 999-9999 format (required)
pattern=^(\d{10}|\(\d{3}\)\s\d{3}-\d{4})$
OwnershipstringenumLegal entity type (required). Validation error "Sponsorship is required" if missing.
See PDF pages 27-28 for required contact fields based on this ownership type.
IndustrystringenumIndustry (required)
Location_Type__cstringenumBusiness location type (required)
Years_at_Location__cstringYears at location (required)
Date_Established__cstringDate established (required)
format=date
Chain_Non_Chain__cstringenumChain/Non-chain status (required)
DescriptionstringBusiness description (required)
maxLength=32000
When Provided2 fields
Industry_Other__cstringOther industry description (required if Industry is "Other")
maxLength=100
Location_Other__cstringOther location description (required if Location_Type__c is "Other")
maxLength=100
Other Fields17 fields
idstringSalesforce record Id (SFId) of the object being updated. Include in update requests.
Association_ID_API_Field__cstringAssociation ID. Validation error if invalid Association ID entered.
maxLength=100
ShippingStateCodestringDBA state/province code. See PDF pages 36-38 for full list of valid state codes.
maxLength=80
ShippingPostalCodestringDBA zip code - must be 5 digits if provided. Validation error "DBA Address Zipcode Enter valid DBA Address Zipcode" if not 5 digits.
pattern=^\d{5}$ · maxLength=20
ShippingCountryCodestringDBA country code. See PDF pages 36-38 for full list of valid country codes.
maxLength=80
Physical_Address_Street__cstringPhysical address street. If field exceeds maximum length, value will be truncated.
maxLength=255
Physical_Address_City__cstringPhysical address city. If field exceeds maximum length, value will be truncated.
maxLength=80
Physical_Address_State__cstringPhysical address state. See PDF pages 36-38 for valid state codes.
maxLength=80
Physical_Address_PostalCode__cstringPhysical address postal code - must be 5 digits if provided. Validation error "Mailing Address Zipcode Enter valid Mailing Address Zipcode" if not 5 digits.
pattern=^\d{5}$ · maxLength=80
FaxstringFax number - must be 10 digits or (999) 999-9999 format if provided. Validation error "Phone/Fax number must be a 10-digit number or in (999) 999-9999 format" if invalid.
pattern=^(\d{10}|\(\d{3}\)\s\d{3}-\d{4})$
WebsitestringWebsite address
format=uri · maxLength=255
Ever_accepted_credit_cards_before__cbooleanEver accepted credit cards before
Name_of_Previous_Processor__cstringName of previous processor
maxLength=100
Ever_had_a_merchant_account_canceled__cbooleanEver had a merchant account canceled
Name_of_Processor_for_canceled_merchant__cstringName of processor for canceled merchant account
maxLength=100
Reason_for_cancellation__cstringReason for cancellation
maxLength=255
Date_of_cancellation__cstringDate of cancellation
format=date
Example response
{}
Code samples
Copy-paste ready code in your preferred language.
API call
Copy/paste friendly
curl -X GET "https://test.salesforce.com/applications/YOUR_OPPORTUNITY_ID/account"