AcceptTerms
- Method
- Example Request
- Example Response
AcceptTerms(AcceptTermsRequest)
Required? No
Overview: AcceptTerms is an optional method that is only used when Terms of Service or End-User License Agreements (EULA) can are hosted by Ensenta where we can serve back the text for the mobile app to display and to track End-User acceptance against the Account Holder Number passed in the the StartSession
Terms are typically only hosted by Ensenta for Consumer Mobile since the Account Holder Number represents the individual while for Business Mobile the Account Holder Number typically represents the Business (meaning for Business Mobile that the terms would only display to the first End-User that logged in with their Account Holder Number).
Sequence Requirements: If in the StartSession Response the IsTermsAcceptanceRequired parameter is passed back as "true", then you would send the GetTerms request to receive the terms of service text GetTerms; if the user agrees to the terms within the UI, the app would send an AcceptTerms request.
Do not send fields as Null. All fields must be passed with a value or empty. Use basicHttpBinding, and don't use message security, but only transport level security (SSL).
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| AcceptTermsRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| AcceptTermsResponse |
<AcceptTerms>
<request>
<PartnerId>8257</PartnerId>
<LanguageId>9</LanguageId>
<DepositorIpAddress>203.0.113.0</DepositorIpAddress>
<DeviceIdentifier>21d182e6-10b1-48e2-8c53-1b72674836c1</DeviceIdentifier>
<LocalDateTime>2019-05-28T15:21:27.0000130-07:00</LocalDateTime>
<TimeZone>PST -7:00 America/Redwood_Shores</TimeZone>
<Attributes>
<Attribute>
<Name></Name>
<Value></Value>
</Attribute>
</Attributes>
<SessionStateId>00f4a870-6e5b-4163-86ce-b4e80acfddfb</SessionStateId>
<SessionToken>7bdb9860-dcd5-4f75-8629-61c8d18cbfed</SessionToken>
</request>
</AcceptTerms>
<AcceptTermsResponse>
<AcceptTermsResult>
<ResponseCode>00</ResponseCode>
<ErrorResponseText/>
<LocalizedMessageText/>
</AcceptTermsResult>
</AcceptTermsResponse>