On This Page

{#jumplink-list}  
[Markdown](/content/cybsdeveloper2021/amer/en/docs/cybs/en-us/payouts/developer/ctv/so/payouts-dev/payouts-services-intro/payouts-services-auth-dual-message-aft-token-intro/payouts-services-auth-dual-message-aft-token-ex-so.md)

Simple Order Example: Dual-Message AFT with Network Tokens {#payouts-services-auth-dual-message-aft-token-ex-so}
================================================================================================================

Request

```
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;SOAP-ENV:Header&gt;
        &lt;wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"&gt;
            &lt;wsse:UsernameToken&gt;
                &lt;wsse:Username&gt;en_vdcuruguay_1_ccs&lt;/wsse:Username&gt;
                &lt;wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"&gt;ygx8jlKyl6nZlY67dH4kKo4VZm6T9j3wV2WNA1j+44NoCkFlrJFFkklShtTCSAKG5xCbiFPZJwvuNlEO9zokZUhOOYNvYcKza+XT+O2ZlYhJ6EfkCsmAuVtHqpCXfIVoTOszxh64maLeO5fX0+FoVRuduB+83X0+82iQP2B0ObYPykL2MPZtlFcz4JmM9JAJGYqvo2llkZHPrQrkhoDddKBs5gcWZwZ/VugdvYmdTLZg3f2afiAc8DlTUQ7lwqck5wkVgitkBSJe3ZuhviPTE8zRL31pI+MP4AmV5ujuR+SAHtGFew9rWye9OKpig5mKgMDA+3r0vUbbGiaWbfo1mA==&lt;/wsse:Password&gt;
            &lt;/wsse:UsernameToken&gt;
        &lt;/wsse:Security&gt;
    &lt;/SOAP-ENV:Header&gt;
    &lt;SOAP-ENV:Body&gt;
        &lt;requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.221"&gt;
            &lt;merchantID&gt;en_vdcuruguay_1_ccs&lt;/merchantID&gt;
            &lt;merchantReferenceCode&gt;TC55255-1&lt;/merchantReferenceCode&gt;
            &lt;invoiceHeader&gt;
                &lt;merchantDescriptor&gt;John&lt;/merchantDescriptor&gt;
                &lt;merchantDescriptorStreet&gt;cr avenue&lt;/merchantDescriptorStreet&gt;
                &lt;merchantDescriptorState&gt;CA&lt;/merchantDescriptorState&gt;
                &lt;merchantVATRegistrationNumber&gt;15426476537657&lt;/merchantVATRegistrationNumber&gt;
                &lt;businessApplicationID&gt;WT&lt;/businessApplicationID&gt;
                &lt;invoiceNumber&gt;13490&lt;/invoiceNumber&gt;
            &lt;/invoiceHeader&gt;
            &lt;billTo&gt;
                &lt;firstName&gt;JHON&lt;/firstName&gt;
                &lt;lastName&gt;SMITH&lt;/lastName&gt;
                &lt;street1&gt;1-26-28 Nakashirane,&lt;/street1&gt;
                &lt;street2&gt;Asahi-ku&lt;/street2&gt;
                &lt;street3&gt;Suite 500&lt;/street3&gt;
                &lt;city&gt;Yokohama-shi&lt;/city&gt;
                &lt;state&gt;CA&lt;/state&gt;
                &lt;postalCode&gt;602-8511&lt;/postalCode&gt;
                &lt;country&gt;US&lt;/country&gt;
                &lt;phoneNumber&gt;999-123-9999&lt;/phoneNumber&gt;
                &lt;email&gt;test@visa.com&lt;/email&gt;
            &lt;/billTo&gt;
            &lt;purchaseTotals&gt;
                &lt;currency&gt;USD&lt;/currency&gt;
                &lt;grandTotalAmount&gt;1000&lt;/grandTotalAmount&gt;
                &lt;invoiceAmount&gt;1234&lt;/invoiceAmount&gt;
            &lt;/purchaseTotals&gt;
            &lt;card&gt;
                &lt;accountNumber&gt;4111111111111111&lt;/accountNumber&gt;
                &lt;expirationMonth&gt;12&lt;/expirationMonth&gt;
                &lt;expirationYear&gt;2030&lt;/expirationYear&gt;
                &lt;cvNumber&gt;123&lt;/cvNumber&gt;
                &lt;cardType&gt;001&lt;/cardType&gt;
            &lt;/card&gt;
            &lt;ccAuthService run="true"&gt;
                &lt;cavv&gt;ABCDEabcde12345678900987654321abcdeABCDE&lt;/cavv&gt;
                &lt;networkTokenCryptogram&gt;ABCDE12345ABCED12345ABCDE123&lt;/networkTokenCryptogram&gt;
                &lt;commerceIndicator&gt;vbv&lt;/commerceIndicator&gt;
                &lt;xid&gt;12345678909876543210ABCDEabcdeABCDEF1234&lt;/xid&gt;
                &lt;captureDate&gt;1231&lt;/captureDate&gt;
                &lt;initiatorType&gt;S&lt;/initiatorType&gt;
            &lt;/ccAuthService&gt;
            &lt;paymentNetworkToken&gt;
                &lt;transactionType&gt;1&lt;/transactionType&gt;
            &lt;/paymentNetworkToken&gt;
            &lt;recipient&gt;
                &lt;postalCode&gt;222120&lt;/postalCode&gt;
                &lt;accountID&gt;987654321&lt;/accountID&gt;
                &lt;accountType&gt;33&lt;/accountType&gt;
                &lt;lastName&gt;recla&lt;/lastName&gt;
                &lt;firstName&gt;recfirhgfhtfh&lt;/firstName&gt;
                &lt;middleName&gt;recmiddle&lt;/middleName&gt;
                &lt;address&gt;this is address1&lt;/address&gt;
                &lt;city&gt;westb&lt;/city&gt;
                &lt;country&gt;IN&lt;/country&gt;
                &lt;buildingNumber&gt;266&lt;/buildingNumber&gt;
                &lt;address2&gt;this is address2&lt;/address2&gt;
                &lt;streetName&gt;colourful Street&lt;/streetName&gt;
            &lt;/recipient&gt;
            &lt;sender&gt;
                &lt;referenceNumber&gt;REFNUM123&lt;/referenceNumber&gt;
                &lt;sourceOfFunds&gt;02&lt;/sourceOfFunds&gt;
                &lt;name&gt;justsenderName&lt;/name&gt;
                &lt;address&gt;addressofthesender&lt;/address&gt;
                &lt;city&gt;blr&lt;/city&gt;
                &lt;state&gt;ka&lt;/state&gt;
                &lt;country&gt;India&lt;/country&gt;
                &lt;accountNumber&gt;154264765376576126571652675176&lt;/accountNumber&gt;
                &lt;firstName&gt;senderfirstname&lt;/firstName&gt;
                &lt;middleName&gt;middle&lt;/middleName&gt;
                &lt;lastName&gt;last&lt;/lastName&gt;
                &lt;personalIDType&gt;TXIN&lt;/personalIDType&gt;
                &lt;type&gt;B&lt;/type&gt;
                &lt;identificationNumber&gt;23506907642323235&lt;/identificationNumber&gt;
            &lt;/sender&gt;
            &lt;aft&gt;
                &lt;indicator&gt;true&lt;/indicator&gt;
            &lt;/aft&gt;
        &lt;/requestMessage&gt;
    &lt;/SOAP-ENV:Body&gt;
&lt;/SOAP-ENV:Envelope&gt;
```

Response

```
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;soap:Header&gt;
        &lt;wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt;
            &lt;wsu:Timestamp wsu:Id="TS-8d8472ec-1a61-4b29-bab0-732050b705e1"&gt;
                &lt;wsu:Created&gt;2024-06-26T09:53:04.785Z&lt;/wsu:Created&gt;
            &lt;/wsu:Timestamp&gt;
        &lt;/wsse:Security&gt;
    &lt;/soap:Header&gt;
    &lt;soap:Body&gt;
        &lt;c:replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.221"&gt;
            &lt;c:merchantReferenceCode&gt;TC55255-1&lt;/c:merchantReferenceCode&gt;
            &lt;c:requestID&gt;7193955837287005009916&lt;/c:requestID&gt;
            &lt;c:decision&gt;ACCEPT&lt;/c:decision&gt;
            &lt;c:reasonCode&gt;100&lt;/c:reasonCode&gt;
            &lt;c:requestToken&gt;Axj/7wSThfwxTs0Lxbf8AHgs3YuWblq1cM27Jw3YMGrBg5csWybWNLUe8AU2saWo95pBHDUCClDJt/9i4qniHXAnJwv4Yp2aF4tv+AAAhh1B&lt;/c:requestToken&gt;
            &lt;c:purchaseTotals&gt;
                &lt;c:currency&gt;USD&lt;/c:currency&gt;
            &lt;/c:purchaseTotals&gt;
            &lt;c:ccAuthReply&gt;
                &lt;c:reasonCode&gt;100&lt;/c:reasonCode&gt;
                &lt;c:amount&gt;1000.00&lt;/c:amount&gt;
                &lt;c:authorizationCode&gt;831000&lt;/c:authorizationCode&gt;
                &lt;c:avsCode&gt;Y&lt;/c:avsCode&gt;
                &lt;c:avsCodeRaw&gt;Y&lt;/c:avsCodeRaw&gt;
                &lt;c:cvCode&gt;M&lt;/c:cvCode&gt;
                &lt;c:cvCodeRaw&gt;M&lt;/c:cvCodeRaw&gt;
                &lt;c:authorizedDateTime&gt;2024-06-26T09:53:04Z&lt;/c:authorizedDateTime&gt;
                &lt;c:processorResponse&gt;00&lt;/c:processorResponse&gt;
                &lt;c:reconciliationID&gt;7193955837287005009916&lt;/c:reconciliationID&gt;
                &lt;c:merchantAdviceCode&gt;01&lt;/c:merchantAdviceCode&gt;
                &lt;c:merchantAdviceCodeRaw&gt;M001&lt;/c:merchantAdviceCodeRaw&gt;
                &lt;c:cavvResponseCode&gt;2&lt;/c:cavvResponseCode&gt;
                &lt;c:cavvResponseCodeRaw&gt;2&lt;/c:cavvResponseCodeRaw&gt;
                &lt;c:paymentNetworkTransactionID&gt;016153570198200&lt;/c:paymentNetworkTransactionID&gt;
                &lt;c:reconciliationReferenceNumber&gt;417809816260&lt;/c:reconciliationReferenceNumber&gt;
            &lt;/c:ccAuthReply&gt;
            &lt;c:receiptNumber&gt;816260&lt;/c:receiptNumber&gt;
            &lt;c:card&gt;
                &lt;c:cardType&gt;001&lt;/c:cardType&gt;
            &lt;/c:card&gt;
            &lt;c:reserved&gt;
                &lt;ics_message xmlns="urn:schemas-cybersource-com:transaction-data:ics"&gt;
                    &lt;auth_rflag&gt;SOK&lt;/auth_rflag&gt;
                    &lt;ics_return_code&gt;1000000&lt;/ics_return_code&gt;
                    &lt;auth_reconciliation_reference_number&gt;417809816260&lt;/auth_reconciliation_reference_number&gt;
                    &lt;auth_cv_result&gt;M&lt;/auth_cv_result&gt;
                    &lt;auth_auth_amount&gt;1000.00&lt;/auth_auth_amount&gt;
                    &lt;payment_network_token_transaction_type&gt;1&lt;/payment_network_token_transaction_type&gt;
                    &lt;card_type&gt;001&lt;/card_type&gt;
                    &lt;ics_rmsg&gt;Request was processed successfully.&lt;/ics_rmsg&gt;
                    &lt;auth_merchant_advice_code&gt;01&lt;/auth_merchant_advice_code&gt;
                    &lt;auth_trans_ref_no&gt;7193955837287005009916&lt;/auth_trans_ref_no&gt;
                    &lt;request_token&gt;Axj/7wSThfwxTs0Lxbf8AHgs3YuWblq1cM27Jw3YMGrBg5csWybWNLUe8AU2saWo95pBHDUCClDJt/9i4qniHXAnJwv4Yp2aF4tv+AAAhh1B&lt;/request_token&gt;
                    &lt;request_id&gt;7193955837287005009916&lt;/request_id&gt;
                    &lt;merchant_ref_number&gt;TC55255-1&lt;/merchant_ref_number&gt;
                    &lt;auth_auth_response&gt;00&lt;/auth_auth_response&gt;
                    &lt;auth_merchant_advice_code_raw&gt;M001&lt;/auth_merchant_advice_code_raw&gt;
                    &lt;auth_payment_network_transaction_id&gt;016153570198200&lt;/auth_payment_network_transaction_id&gt;
                    &lt;auth_return_code&gt;1010000&lt;/auth_return_code&gt;
                    &lt;ics_rflag&gt;SOK&lt;/ics_rflag&gt;
                    &lt;auth.reason_code&gt;100&lt;/auth.reason_code&gt;
                    &lt;auth_cavv_response_code&gt;2&lt;/auth_cavv_response_code&gt;
                    &lt;auth_rcode&gt;1&lt;/auth_rcode&gt;
                    &lt;receipt_number&gt;816260&lt;/receipt_number&gt;
                    &lt;auth_additional_token_response_information&gt;0&lt;/auth_additional_token_response_information&gt;
                    &lt;auth_cv_result_raw&gt;M&lt;/auth_cv_result_raw&gt;
                    &lt;auth_rmsg&gt;Request was processed successfully.&lt;/auth_rmsg&gt;
                    &lt;auth_auth_time&gt;2024-06-26T095304Z&lt;/auth_auth_time&gt;
                    &lt;ics_decision_reason_code&gt;100&lt;/ics_decision_reason_code&gt;
                    &lt;auth_cavv_response_code_raw&gt;2&lt;/auth_cavv_response_code_raw&gt;
                    &lt;auth_auth_code&gt;831000&lt;/auth_auth_code&gt;
                    &lt;currency&gt;USD&lt;/currency&gt;
                    &lt;auth_avs_raw&gt;Y&lt;/auth_avs_raw&gt;
                    &lt;auth_auth_avs&gt;Y&lt;/auth_auth_avs&gt;
                    &lt;ics_rcode&gt;1&lt;/ics_rcode&gt;
                &lt;/ics_message&gt;
            &lt;/c:reserved&gt;
            &lt;c:additionalToken&gt;
                &lt;c:responseInformation&gt;0&lt;/c:responseInformation&gt;
            &lt;/c:additionalToken&gt;
        &lt;/c:replyMessage&gt;
    &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;
```

RELATED TO THIS PAGE

* <>

