Please expose /tms/v1/search?offset=0&limit=50&vaultSearch=single or something similar to the cybersource API
The Cybersource client libraries have no way to search for a customer by anything other than "Retrieve by profileId".
But the cybebersource website (ebc2test.cybersource.com) sucessfully searches for customer profiles by sending the following payload to /tms/v1/search?offset=0&limit=50&vaultSearch=single :
{"namedQuery":{"name":"tokenSearch","filters":[{"field":"merchantDefinedInformation","value":"mycustomId"}]}}
This seems like an essential feature for anyone that has multiple applications creating cybersource customer profiles where not all these apps have access to a central cyberProfileId-to-internalCustomerId cross reference.
We should be able to check cybersource to see if we are missing a customer profile Id before I go creating another (duplicate) profile.
This is made more essential by the fact that I get no "duplicate" errors back - ever - I can send the same profile 5 times and end up with 5 profiles all identical except for the newly generated profile Id.