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:11:48 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="DTfU+6qkSFJWZXpD7g0YH4FZ6+0MriNEFgnQYZNqKiM=" -- Response Message -- Response Code :201 v-c-correlation-id :14dd9e6a-7fad-45f5-a72a-e28b7368c868 Response Data : {"_links":{"authReversal":{"method":"POST","href":"/pts/v2/payments/7451439093696761704805/reversals"},"self":{"method":"GET","href":"/pts/v2/payments/7451439093696761704805"},"capture":{"method":"POST","href":"/pts/v2/payments/7451439093696761704805/captures"}},"clientReferenceInformation":{"code":"TC50171_3"},"id":"7451439093696761704805","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":"71089734N96Z3J7E","status":"AUTHORIZED","submitTimeUtc":"2025-04-20T10:11:49Z"} 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=2021-02-01T00:00:00.0Z&endTime=2021-02-02T23: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:11:49 GMT Host : apitest.cybersource.com Signature:keyid="08c94330-f618-42a3-b09d-e1e43be5efda", algorithm="HmacSHA256", headers="host date (request-target) v-c-merchant-id", signature="0/K1CuSc0d04mc5wdF78C7ZwEi2p6aYkEiosRJH+1zY=" -- Response Message -- Response Code :400 v-c-correlation-id :34f19ab0-79dc-490d-be4d-e9f081461c06 Response Data : {"_links":{"self":{"href":"https://apitest.cybersource.com/reporting/v3/reports?startTime=2021-02-01T00%3A00%3A00.0Z&endTime=2021-02-02T23%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)