On This Page
Code Samples for pa_setup
SCMP Request
{ "merchantInformation": { "merchantDescriptor": { "name": "fidomid1" } }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "121" } }, "billTo": { "email": "[email protected]" }, "acquirerInformation": { "country": "US" }, "consumerAuthenticationInformation":{ "referenceId": "abcfjkkku8egd-ajdh", "languagePreference":["en", "gb", "jp"] }, "paymentInformation": { "card": { "number": "4000000000001000", "expirationMonth": "12", "expirationYear": "2025", "type": "001" } } }
SCMP
Response
{ { "clientReferenceInformation": { "code": "1741068591217" }, "consumerAuthenticationInformation": { "methodUrlPresent": "true", "fido": { "reasonDescription": "Error", "fidoFlowType": "ENROLLMENT", "reasonCode": "1001" }, "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJlMzFjMGM3Yi0zMjRmLTQ5MDAtYmNmMS01MGNkZDIzYjM0NjAiLCJpYXQiOjE3NDEwNjg1OTIsImlzcyI6IjVkZDgzYmYwMGU0MjNkMTQ5OGRjYmFjYSIsImV4cCI6MTc0MTA3MjE5MiwiT3JnVW5pdElkIjoiNjFiY2MxM2QzOTAxZTkxYWJmOWZiZWFhIiwiUmVmZXJlbmNlSWQiOiI1MWNhNjY3OS0xMmVkLTQ3YzQtODk4Mi0xYTI5ZTEwZDQ1ODcifQ._1THZ3Jgc40Vfh2pMfy0WzBpBSPEonDIdHLJ5QGraBA", "deviceDataCollectionUrl": "https://centinelapistag.cardinalcommerce.com/V2/Cruise/Collect", "referenceId": "51ca6679-12ed-47c4-8982-1a29e10d4587", "token": "AxizbwSTkbvtN1/knZ+B/8EBTaxtJM/ABPGhk2/+xcWFCnzAOAAALQRs" }, "id": "7410685914097100103553", "status": "COMPLETED", "submitTimeUtc": "2025-03-04T06:09:52Z" }
SOAP Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:schemas-cybersource-com:transaction-data-1.227"> <soapenv:Header> <wsse:Security> <wsse:UsernameToken> <wsse:Username Type="#PasswordText">patest4</wsse:Username> <wsse:Password>u6kWTFE04j0hvDAAblT2ITjheBIsWhuj9VDzc84w+ht4oZMyc5eQeelUM8Y6cjUkkxANrZ1GqQjFE3UXN1G3CzKYktUYKAcOvVC5i/u7nIGqmGZIdd1b6w/pWqPAOzs0bCb97o/BQuN7dqG7+H0XOfDeXIlK0JBIqsPNjO6wai+z5sK4YlpfTGRo9U/WOGXNr34asVYk9WF/K6E6Lwf/NykT19JLWV7DZzfhVgqbnCMDfMTVAhNlSAmMkzpW+JixX245koFYmks2so39t3IkQVE8dOS/Ni//4CRzH8hFuInuRCTSY0y59hZ5uq5E3v0uUN6IZDZR+Oyp1XB+zNRgvw==</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <urn:requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.227"> <urn:merchantID>patest4</urn:merchantID> <urn:merchantReferenceCode>scoreTest</urn:merchantReferenceCode> <urn:billTo> <urn:email>[email protected]</urn:email> </urn:billTo> <urn:purchaseTotals> <urn:currency>USD</urn:currency> <urn:grandTotalAmount>1001</urn:grandTotalAmount> </urn:purchaseTotals> <urn:card> <urn:accountNumber>4111111111111111</urn:accountNumber> <urn:expirationMonth>12</urn:expirationMonth> <urn:expirationYear>2025</urn:expirationYear> <urn:cardType>001</urn:cardType> </urn:card> <urn:payerAuthSetupService run="true"> <urn:referenceID>12345-1234-123145-1423</urn:referenceID> <urn:merchantName>patest4</urn:merchantName> <urn:acquirerCountry>US</urn:acquirerCountry> <urn:languagePreference id="0">US</urn:languagePreference> <urn:languagePreference id="1">IN</urn:languagePreference> <urn:languagePreference id="2">au</urn:languagePreference> </urn:payerAuthSetupService> </urn:requestMessage> </soapenv:Body> </soapenv:Envelope>
SOAP Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <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"> <wsu:Timestamp wsu:Id="TS-a4bf6296-758c-4830-82f9-63fa56d36cbf"> <wsu:Created>2025-04-03T16:00:54.983Z</wsu:Created> </wsu:Timestamp> </wsse:Security> </soap:Header> <soap:Body> <c:replyMessage xmlns:c="urn:schemas-cybersource-com:transaction-data-1.227"> <c:merchantReferenceCode>scoreTest</c:merchantReferenceCode> <c:requestID>7436960542587000451316</c:requestID> <c:decision>ACCEPT</c:decision> <c:reasonCode>100</c:reasonCode> <c:requestToken>AxjzbwSTkyiPcsb2e/D0/8EBTaxorHo+kEcOCJ8sMm3/2LiwoU+YCYAAqCu6</c:requestToken> <c:payerAuthSetupReply> <c:reasonCode>100</c:reasonCode> <c:referenceID>51ca6679-12ed-47c4-8982-1a29e10d4587</c:referenceID> <c:deviceDataCollectionURL>https://centinelapistag.cardinalcommerce.com/V2/Cruise/Collect</c:deviceDataCollectionURL> <c:accessToken>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhZTEwMzJkMS05YTdkLTRjYzAtODUzMC05ZmFmMGIzZTNkZWMiLCJpYXQiOjE3NDM2OTYwNTQsImlzcyI6IjVkZDgzYmYwMGU0MjNkMTQ5OGRjYmFjYSIsImV4cCI6MTc0MzY5OTY1NCwiT3JnVW5pdElkIjoiNjFiY2MxM2QzOTAxZTkxYWJmOWZiZWFhIiwiUmVmZXJlbmNlSWQiOiI1MWNhNjY3OS0xMmVkLTQ3YzQtODk4Mi0xYTI5ZTEwZDQ1ODcifQ.1Xjr7JO6KXYrpthJj4qqm089bGyT-8CWSDKbr_nmjb0</c:accessToken> <c:fidoFlowType>ENROLLMENT</c:fidoFlowType> <c:fidoReasonCode>1001</c:fidoReasonCode> <c:fidoReasonDescription>Error</c:fidoReasonDescription> <c:methodUrlPresent>true</c:methodUrlPresent> </c:payerAuthSetupReply> <c:reserved> <ics_message xmlns="urn:schemas-cybersource-com:transaction-data:ics"> <pa_setup_rmsg>Setup complete.</pa_setup_rmsg> <ics_return_code>1000000</ics_return_code> <pa_setup_pa_fido_flow_type>ENROLLMENT</pa_setup_pa_fido_flow_type> <ics_rmsg>Request was processed successfully.</ics_rmsg> <pa_setup_pa_reference_id>51ca6679-12ed-47c4-8982-1a29e10d4587</pa_setup_pa_reference_id> <ics_rcode>1</ics_rcode> <pa_setup.reason_code>100</pa_setup.reason_code> <ics_rflag>SOK</ics_rflag> <pa_setup_pa_fido_reason_description>Error</pa_setup_pa_fido_reason_description> <pa_setup_pa_method_url_present>true</pa_setup_pa_method_url_present> <pa_setup_pa_device_data_collection_url>https://centinelapistag.cardinalcommerce.com/V2/Cruise/Collect</pa_setup_pa_device_data_collection_url> <pa_setup_rcode>1</pa_setup_rcode> <pa_setup_rflag>SOK</pa_setup_rflag> <merchant_ref_number>scoreTest</merchant_ref_number> <pa_setup_pa_access_token>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhZTEwMzJkMS05YTdkLTRjYzAtODUzMC05ZmFmMGIzZTNkZWMiLCJpYXQiOjE3NDM2OTYwNTQsImlzcyI6IjVkZDgzYmYwMGU0MjNkMTQ5OGRjYmFjYSIsImV4cCI6MTc0MzY5OTY1NCwiT3JnVW5pdElkIjoiNjFiY2MxM2QzOTAxZTkxYWJmOWZiZWFhIiwiUmVmZXJlbmNlSWQiOiI1MWNhNjY3OS0xMmVkLTQ3YzQtODk4Mi0xYTI5ZTEwZDQ1ODcifQ.1Xjr7JO6KXYrpthJj4qqm089bGyT-8CWSDKbr_nmjb0</pa_setup_pa_access_token> <pa_setup_return_code>1865000</pa_setup_return_code> <pa_setup_pa_fido_reason_code>1001</pa_setup_pa_fido_reason_code> <ics_decision_reason_code>100</ics_decision_reason_code> <request_id>7436960542587000451316</request_id> <request_token>AxjzbwSTkyiPcsb2e/D0/8EBTaxorHo+kEcOCJ8sMm3/2LiwoU+YCYAAqCu6</request_token> </ics_message> </c:reserved> </c:replyMessage> </soap:Body> </soap:Envelope>