Sample Payment View Request and Response in XML Format

Using the below example, you can view the payment history of the 9007760606 account.

Sample Payment View Request in XML Format

<c1-viewPayment>
    <accountIdentifierType>CITIACCT</accountIdentifierType>
    <accountNumber>ZZZZACCT</accountNumber>
    <accountId>9007760606</accountId>
    <tenderType>CHECK</tenderType>
    <checkNumber>7005</checkNumber>
<division>CA</division>
    <sourceSystem>ZZ_IWS_ES</sourceSystem>
    <c1ExternalTransactionId>122</c1ExternalTransactionId>
    <externalSourceId>444</externalSourceId>
</c1-viewPayment>

Sample Payment View Response in XML Format

<c1-viewPayment>
    <accountIdentifierType>CITIACCT</accountIdentifierType>
    <accountNumber>ZZZZACCT</accountNumber>
    <accountId>9007760606</accountId>
    <tenderType>CHECK</tenderType>
    <checkNumber>7005</checkNumber>
    <division>CA</division>
    <sourceSystem>ZZ_IWS_ES</sourceSystem>
    <c1ExternalTransactionId>122</c1ExternalTransactionId>
    <externalSourceId>444</externalSourceId>
    <getPayHistResponse>
        <statusCd>Success</statusCd>
        <payHistList>
           <paymentEventId>001095181478</paymentEventId>
           <paymentId>001426421608</paymentId>
           <paymentDate>2020-08-19</paymentDate>
           <paymentAmount>500.00</paymentAmount>
           <currency>USD</currency>
           <matchTypeDescription>SA ID match</matchTypeDescription>
           <paymentStatusDesc>Error</paymentStatusDesc>
        </payHistList>
        <payHistList>
            <paymentEventId>001028557769</paymentEventId>
            <paymentId>001807743707</paymentId>
            <paymentDate>2020-08-17</paymentDate>
            <paymentAmount>1000.00</paymentAmount>
            <matchValue>0077507587</matchValue>
            <currency>USD</currency>
            <matchTypeDescription>SA ID match</matchTypeDescription>
            <paymentStatusDesc>Frozen</paymentStatusDesc>
        </payHistList>
        <payHistList>
           <paymentEventId>001059826039</paymentEventId>
           <paymentId>001007431496</paymentId>
           <paymentDate>2020-08-14</paymentDate>
           <paymentAmount>260.00</paymentAmount>
           <matchValue>0077507587</matchValue>
           <currency>USD</currency>
           <cancelReason>ENTR</cancelReason>
           <matchTypeDescription>SA ID match</matchTypeDescription>
           <paymentStatusDesc>Canceled</paymentStatusDesc>
        </payHistList>
    </getPayHistResponse>
 </c1-viewPayment>
Note: We have given the above request and response samples to illustrate how the tags should be nested while sending a payment view request from the external system. However, you should not seamlessly use this request sample in your environment because the required pre-requisite data may not be available in your environment. In such case, the system will give erroneous results.

Related Topics

For more information on... See...
Payment View Request and Response - Tags in XML Format Payment View Request and Response - Tags in XML Format