Reference for https://devenroll.usiopay.com/enroll.svc/JSON/CreateApplication
Url: https://devenroll.usiopay.com/enroll.svc/JSON/CreateApplication
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | Xml | Example,Schema |
| Request | Json | Example |
| Response | Xml | Example,Schema |
| Response | Json | Example |
The following is an example request Xml body:
<CreateApplicationRequest xmlns="http://schemas.datacontract.org/2004/07/">
<login>String content</login>
<merchantID>String content</merchantID>
<password>String content</password>
<bankAccounts>
<CreateApplicationRequest.BankAccounts>
<accountHolderName>String content</accountHolderName>
<accountNumber>String content</accountNumber>
<accountType>String content</accountType>
<routingNumber>String content</routingNumber>
</CreateApplicationRequest.BankAccounts>
<CreateApplicationRequest.BankAccounts>
<accountHolderName>String content</accountHolderName>
<accountNumber>String content</accountNumber>
<accountType>String content</accountType>
<routingNumber>String content</routingNumber>
</CreateApplicationRequest.BankAccounts>
</bankAccounts>
<businessInformation>
<address>
<city>String content</city>
<line1>String content</line1>
<line2>String content</line2>
<postalCode>String content</postalCode>
<state>String content</state>
</address>
<dbaName>String content</dbaName>
<description>String content</description>
<email>String content</email>
<federalTaxID>String content</federalTaxID>
<federalTaxIDType>String content</federalTaxIDType>
<legalName>String content</legalName>
<mcc>String content</mcc>
<naics>String content</naics>
<ownershipType>String content</ownershipType>
<phoneNumber>String content</phoneNumber>
<startDate>String content</startDate>
<website>String content</website>
</businessInformation>
<owners>
<CreateApplicationRequest.Owner>
<address>
<city>String content</city>
<line1>String content</line1>
<line2>String content</line2>
<postalCode>String content</postalCode>
<state>String content</state>
</address>
<dob>String content</dob>
<email>String content</email>
<firstName>String content</firstName>
<isControlOwner>true</isControlOwner>
<lastName>String content</lastName>
<ownershipPercent>2147483647</ownershipPercent>
<phoneNumber>String content</phoneNumber>
<ssn>String content</ssn>
<title>String content</title>
</CreateApplicationRequest.Owner>
<CreateApplicationRequest.Owner>
<address>
<city>String content</city>
<line1>String content</line1>
<line2>String content</line2>
<postalCode>String content</postalCode>
<state>String content</state>
</address>
<dob>String content</dob>
<email>String content</email>
<firstName>String content</firstName>
<isControlOwner>true</isControlOwner>
<lastName>String content</lastName>
<ownershipPercent>2147483647</ownershipPercent>
<phoneNumber>String content</phoneNumber>
<ssn>String content</ssn>
<title>String content</title>
</CreateApplicationRequest.Owner>
</owners>
<selectedProducts>
<cardIssuing>true</cardIssuing>
<merchantServices>true</merchantServices>
<outputSolutions>true</outputSolutions>
</selectedProducts>
<sendWelcomeEmail>true</sendWelcomeEmail>
<webhookURL>String content</webhookURL>
</CreateApplicationRequest>
The following is an example request Json body:
{
"login":"String content",
"merchantID":"String content",
"password":"String content",
"bankAccounts":[{
"accountHolderName":"String content",
"accountNumber":"String content",
"accountType":"String content",
"routingNumber":"String content"
}],
"businessInformation":{
"address":{
"city":"String content",
"line1":"String content",
"line2":"String content",
"postalCode":"String content",
"state":"String content"
},
"dbaName":"String content",
"description":"String content",
"email":"String content",
"federalTaxID":"String content",
"federalTaxIDType":"String content",
"legalName":"String content",
"mcc":"String content",
"naics":"String content",
"ownershipType":"String content",
"phoneNumber":"String content",
"startDate":"String content",
"website":"String content"
},
"owners":[{
"address":{
"city":"String content",
"line1":"String content",
"line2":"String content",
"postalCode":"String content",
"state":"String content"
},
"dob":"String content",
"email":"String content",
"firstName":"String content",
"isControlOwner":true,
"lastName":"String content",
"ownershipPercent":2147483647,
"phoneNumber":"String content",
"ssn":"String content",
"title":"String content"
}],
"selectedProducts":{
"cardIssuing":true,
"merchantServices":true,
"outputSolutions":true
},
"sendWelcomeEmail":true,
"webhookURL":"String content"
}
The following is an example response Xml body:
<CreateApplicationResponse xmlns="http://schemas.datacontract.org/2004/07/">
<message>String content</message>
<status>String content</status>
<agreementURL>String content</agreementURL>
<applicationID>String content</applicationID>
<validationErrors>
<Error>
<errorDescription>String content</errorDescription>
<fieldName>String content</fieldName>
</Error>
<Error>
<errorDescription>String content</errorDescription>
<fieldName>String content</fieldName>
</Error>
</validationErrors>
</CreateApplicationResponse>
The following is an example response Json body:
{
"message":"String content",
"status":"String content",
"agreementURL":"String content",
"applicationID":"String content",
"validationErrors":[{
"errorDescription":"String content",
"fieldName":"String content"
}]
}
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="CreateApplicationRequest">
<xs:complexContent mixed="false">
<xs:extension base="tns:BaseRequest">
<xs:sequence>
<xs:element minOccurs="0" name="bankAccounts" nillable="true" type="tns:ArrayOfCreateApplicationRequest.BankAccounts" />
<xs:element minOccurs="0" name="businessInformation" nillable="true" type="tns:CreateApplicationRequest.BusinessInformation" />
<xs:element minOccurs="0" name="owners" nillable="true" type="tns:ArrayOfCreateApplicationRequest.Owner" />
<xs:element minOccurs="0" name="selectedProducts" nillable="true" type="tns:CreateApplicationRequest.SelectedProducts" />
<xs:element minOccurs="0" name="sendWelcomeEmail" type="xs:boolean" />
<xs:element minOccurs="0" name="webhookURL" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CreateApplicationRequest" nillable="true" type="tns:CreateApplicationRequest" />
<xs:complexType name="BaseRequest">
<xs:sequence>
<xs:element minOccurs="0" name="login" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="merchantID" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="password" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="BaseRequest" nillable="true" type="tns:BaseRequest" />
<xs:complexType name="ArrayOfCreateApplicationRequest.BankAccounts">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="CreateApplicationRequest.BankAccounts" nillable="true" type="tns:CreateApplicationRequest.BankAccounts" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfCreateApplicationRequest.BankAccounts" nillable="true" type="tns:ArrayOfCreateApplicationRequest.BankAccounts" />
<xs:complexType name="CreateApplicationRequest.BankAccounts">
<xs:sequence>
<xs:element minOccurs="0" name="accountHolderName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="accountNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="accountType" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="routingNumber" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="CreateApplicationRequest.BankAccounts" nillable="true" type="tns:CreateApplicationRequest.BankAccounts" />
<xs:complexType name="CreateApplicationRequest.BusinessInformation">
<xs:sequence>
<xs:element minOccurs="0" name="address" nillable="true" type="tns:CreateApplicationRequest.Address" />
<xs:element minOccurs="0" name="dbaName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="description" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="federalTaxID" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="federalTaxIDType" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="legalName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="mcc" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="naics" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ownershipType" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="phoneNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="startDate" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="website" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="CreateApplicationRequest.BusinessInformation" nillable="true" type="tns:CreateApplicationRequest.BusinessInformation" />
<xs:complexType name="CreateApplicationRequest.Address">
<xs:sequence>
<xs:element minOccurs="0" name="city" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="line1" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="line2" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="postalCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="state" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="CreateApplicationRequest.Address" nillable="true" type="tns:CreateApplicationRequest.Address" />
<xs:complexType name="ArrayOfCreateApplicationRequest.Owner">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="CreateApplicationRequest.Owner" nillable="true" type="tns:CreateApplicationRequest.Owner" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfCreateApplicationRequest.Owner" nillable="true" type="tns:ArrayOfCreateApplicationRequest.Owner" />
<xs:complexType name="CreateApplicationRequest.Owner">
<xs:sequence>
<xs:element minOccurs="0" name="address" nillable="true" type="tns:CreateApplicationRequest.Address" />
<xs:element minOccurs="0" name="dob" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="firstName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="isControlOwner" type="xs:boolean" />
<xs:element minOccurs="0" name="lastName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ownershipPercent" type="xs:int" />
<xs:element minOccurs="0" name="phoneNumber" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ssn" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="title" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="CreateApplicationRequest.Owner" nillable="true" type="tns:CreateApplicationRequest.Owner" />
<xs:complexType name="CreateApplicationRequest.SelectedProducts">
<xs:sequence>
<xs:element minOccurs="0" name="cardIssuing" type="xs:boolean" />
<xs:element minOccurs="0" name="merchantServices" type="xs:boolean" />
<xs:element minOccurs="0" name="outputSolutions" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
<xs:element name="CreateApplicationRequest.SelectedProducts" nillable="true" type="tns:CreateApplicationRequest.SelectedProducts" />
</xs:schema>
Additional request Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
<tns:element name="schema">
<tns:complexType />
</tns:element>
</tns:schema>
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="CreateApplicationResponse">
<xs:complexContent mixed="false">
<xs:extension base="tns:BaseResponse">
<xs:sequence>
<xs:element minOccurs="0" name="agreementURL" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="applicationID" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="validationErrors" nillable="true" type="tns:ArrayOfError" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CreateApplicationResponse" nillable="true" type="tns:CreateApplicationResponse" />
<xs:complexType name="BaseResponse">
<xs:sequence>
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="status" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="BaseResponse" nillable="true" type="tns:BaseResponse" />
<xs:complexType name="ArrayOfError">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Error" nillable="true" type="tns:Error" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfError" nillable="true" type="tns:ArrayOfError" />
<xs:complexType name="Error">
<xs:sequence>
<xs:element minOccurs="0" name="errorDescription" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="fieldName" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="Error" nillable="true" type="tns:Error" />
</xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
<tns:element name="schema">
<tns:complexType />
</tns:element>
</tns:schema>