StandAloneHttpSignature Sample Code is running... Sample 1: POST call - CyberSource Payments API - HTTP POST Payment request -- RequestURL -- URL : https://apitest.cybersource.com/pts/v2/payments/ -- HTTP Headers -- Content-Type : application/json;charset=utf-8 v-c-merchant-id : testrest Date : Sun, 20 Apr 2025 10:12:03 GMT Host : apitest.cybersource.com Digest: SHA-256=FJzl6g1B678u9g5g/62qXJB+NEXckgHI/oHhrkgJB9M= Signature:keyid="08c94330-f618-42a3-b09d-e1e43be5efda", algorithm="HmacSHA256", headers="host date (request-target) digest v-c-merchant-id", signature="+4flUNQcRem65lCygj+XrLwzi90v41p7nfAfy77DW/Y=" -- Response Message -- Response Code :201 v-c-correlation-id :025aa721-bdbe-4306-ba59-964df9c1b1f0 Response Data : {"_links":{"authReversal":{"method":"POST","href":"/pts/v2/payments/7451439243706826504806/reversals"},"self":{"method":"GET","href":"/pts/v2/payments/7451439243706826504806"},"capture":{"method":"POST","href":"/pts/v2/payments/7451439243706826504806/captures"}},"clientReferenceInformation":{"code":"TC50171_3"},"id":"7451439243706826504806","orderInformation":{"amountDetails":{"authorizedAmount":"10.00","currency":"USD"}},"paymentAccountInformation":{"card":{"type":"002"}},"paymentInformation":{"tokenizedCard":{"type":"002"},"card":{"type":"002"}},"pointOfSaleInformation":{"terminalId":"123456"},"processorInformation":{"approvalCode":"888888","authIndicator":"1","networkTransactionId":"MCC1234561231","transactionId":"MCC1234561231","responseCode":"100","avs":{"code":"X","codeRaw":"I1"}},"reconciliationId":"710900942973VCP2","status":"AUTHORIZED","submitTimeUtc":"2025-04-20T10:12:04Z"} STATUS : SUCCESS (HTTP Status = 0) Sample 2: GET call - CyberSource Reporting API - HTTP GET Reporting request -- RequestURL -- URL : https://apitest.cybersource.com/reporting/v3/reports?startTime=2018-10-01T00:00:00.0Z&endTime=2018-10-30T23:59:59.0Z&timeQueryType=executedTime&reportMimeType=application/xml -- HTTP Headers -- Content-Type : application/json;charset=utf-8 v-c-merchant-id : testrest Date : Sun, 20 Apr 2025 10:12:04 GMT Host : apitest.cybersource.com Signature:keyid="08c94330-f618-42a3-b09d-e1e43be5efda", algorithm="HmacSHA256", headers="host date (request-target) v-c-merchant-id", signature="IxgoUtwdfE9V9jEPONcufjFgbyoguVEU/Awls7UyL14=" -- Response Message -- Response Code :400 v-c-correlation-id :f055e683-7695-4719-aecd-234d78a64254 Response Data : {"_links":{"self":{"href":"https://apitest.cybersource.com/reporting/v3/reports?startTime=2018-10-01T00%3A00%3A00.0Z&endTime=2018-10-30T23%3A59%3A59.0Z&timeQueryType=executedTime&reportMimeType=application%2Fxml"}},"code":"VALIDATION_ERROR","correlationId":null,"detail":null,"fields":[{"path":"startDate","message":"Start date should not precede 18 months from current time in GMT","localizationKey":null}],"localizationKey":"cybsapi.validation.errors","message":"Field validation errors"} STATUS : ERROR (HTTP Status = -1)