CancelDepositBatch
- Method
- Example Request
- Example Response
CancelDepositBatch(CancelDepositBatchRequest)
Required? Yes
Overview: CancelDepositBatch is the method used to cancel a deposit
Sequence Requirements: The CancelDepositBatch request may be sent after the CreateDepositBatch step but must be prior to the PostDepositBatch. For more details on the methods that are used in between the batch being created and the deposited being completed, please review the supported sequences as listed in Supported Sequences.
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).
If the mobile application includes a Cancel option within the UI, the mobile application should call CancelDepositBatch. This will update the Ensenta database with an accurate status of the deposit. (Otherwise, Ensenta will consider it an abandoned deposit.)
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| CancelDepositBatchRequest | request |
Returns
| TYPE | DESCRIPTION |
|---|---|
| CancelDepositBatchResponse |
<CancelDepositBatch>
<request>
<PartnerId>8257</PartnerId>
<LanguageId>9</LanguageId>
<DepositorIpAddress>203.0.113.0</DepositorIpAddress>
<DeviceIdentifier>21d182e6-10b1-48e2-8c53-1b72674836c1</DeviceIdentifier>
<LocalDateTime>2019-05-28T15:22:38.0000762-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>
<DepositBatchId>d361b055-5b16-4c1c-93ba-5154069e7488</DepositBatchId>
</request>
</CancelDepositBatch>
<CancelDepositBatchResponse>
<CancelDepositBatchResult>
<ResponseCode>00</ResponseCode>
<ErrorResponseText/>
<LocalizedMessageText/>
</CancelDepositBatchResult>
</CancelDepositBatchResponse>