-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSTANDALONE CREDIT USING TOKEN Request.xml
26 lines (26 loc) · 1.17 KB
/
STANDALONE CREDIT USING TOKEN Request.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>{{MerchantID}}</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">{{TransactionSecurityKey}}</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-{{Version}}">
<merchantID>{{MerchantID}}</merchantID>
<merchantReferenceCode>{{$timestamp}}</merchantReferenceCode>
<purchaseTotals>
<currency>USD</currency>
<grandTotalAmount>10.00</grandTotalAmount>
</purchaseTotals>
<recurringSubscriptionInfo>
<subscriptionID>{{tokenID}}</subscriptionID>
</recurringSubscriptionInfo>
<ccAuthService run="true"/>
<ccCaptureService run="true"/>
</requestMessage>
</soapenv:Body>
</soapenv:Envelope>