Comments (1)
Just got this email yesterday that went out to all cybersource customers! Looks like they are making a change in the API design to follow what is documented online.
Dear Merchant:
Cybersource is updating the HTTP response code returned by the Transaction Search REST API in certain scenarios.
When your search criteria does not match any transactions, the API currently responds with a response code of 404. With the upcoming update, we will change the response code to 201, in conformance with the published API specification.
As part of this change, the API response will contain a "totalCount" field with a value of ‘0’, which indicates to the client that there were ‘0’ transactions that matched the search criteria.
This update will go into effect early September. For more information about Transaction Search API, see the API Developer Guides in the Cybersource Developer Center.Regards,
CyberSource Customer SupportFor your reference, in the “no transactions found” scenario, see this sample JSON response body which accompanies an HTTP 201 response code.
Sample 201 Response:
{
"_links": {
"self": {
"href": "https://apitest.cybersource.com/tss/v2/searches/5106e95c-024b-4237-adc7-test123456",
"method": "GET"
}
},
"searchId": "5106e95c-024b-4237-adc7-test123456",
"save": false,
"name": "MRN",
"query": "clientReferenceInformation.code:invalidMRN AND submitTimeUtc:[NOW/DAY-7DAYS TO NOW/DAY+1DAY}",
"count": 0,
"totalCount": 0,
"limit": 100,
"offset": 0,
"sort": "id:asc,submitTimeUtc:asc",
"timezone": "America/Chicago",
"submitTimeUtc": "2019-08-21T18:27:19Z"
}
from cybersource-rest-client-dotnet.
Related Issues (20)
- Values for simulating failed or successful transactions in sandbox not returning expected responses. HOT 3
- Creating new PaymentsApi client changes configuration of existing PaymentsApi client HOT 4
- AuthenticationSdk adds unneccessary dependency on NUnit HOT 1
- RiskV1AuthenticationSetupsPost400Response is missing
- IsMaskingEnabled from July 2021 Update causing failures if NLog not setup and/or enableMasking undocumented variable not present HOT 3
- PtsV2CreditsPost201Response should implement ErrorInformation
- Various model objects are missing "id" field HOT 1
- LogUtility.MaskSensitiveData is not thread safe HOT 1
- Deserializing error in Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiator HOT 2
- Ptsv2creditsProcessingInformation is missing a field for RefundOptions HOT 2
- PtsV2PaymentsCapturesPost201ResponseOrderInformationInvoiceDetails.Level3TransmissionStatus property is the wrong type HOT 1
- enableMasking not working if non-tokenised card details sent HOT 10
- Missing .ConfigureAwait(false) calls on all awaits, causing deadlocks
- Bump RestSharp to 108 HOT 2
- Cybersouce.Client.Configuration throws The type initializer exception HOT 2
- Types missmatch on "consumerAuthenticationInformation.acsOperatorID" field HOT 1
- Could not load file or assembly 'AuthenticationSdk, Version=0.0.0.16, Culture=neutral, PublicKeyToken=null' HOT 2
- Issue with consumerAuthenticationInformation.AccessToken Field in Response HOT 1
- GeneratePublicKeyRequest replacement HOT 2
- Create a FlexPublicKey including auto authorization prior creating the token
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cybersource-rest-client-dotnet.