Have you tried to create a test app?
Click on Cybersource, Create a test app, and it will offer you sample codes. Let me know if you have any more questions.
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.